Changeset b2647de for app/Makefile
- Timestamp:
- 03/17/08 11:35:12 (17 years ago)
- Branches:
- master, help
- Children:
- d593c5e
- Parents:
- 246900a
- git-author:
- pawelk <pawelk@…> (03/17/08 11:35:12)
- git-committer:
- pawelk <pawelk@…> (03/17/08 11:35:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Makefile
r8d3e6ab rb2647de 14 14 export UTT_DIR=${OUTPUT_DIR} 15 15 16 export UTT_BIN_DIR=${UTT_DIR}/bin # executables 17 export UTT_CONF_DIR=${UTT_DIR}/etc/utt # configuration files 18 export UTT_LANG_DIR=${UTT_DIR}/share/utt # language/encoding specific stuff 19 export UTT_LIB_DIR=${UTT_DIR}/lib/utt # some files like ser.l.template, terms.m4 20 export UTT_SHARE_DIR=${UTT_DIR}/share # stuff like documantation (man, info), docs: FAQ, COPYRIGHT, NEWS, README 16 # executables 17 export UTT_BIN_DIR=${UTT_DIR}/bin 18 # configuration files 19 export UTT_CONF_DIR=${UTT_DIR}/etc/utt 20 # language/encoding specific stuff 21 export UTT_LANG_DIR=${UTT_DIR}/share/utt 22 # some files like ser.l.template, terms.m4 23 export UTT_LIB_DIR=${UTT_DIR}/lib/utt 24 # stuff like documantation (man, info), docs: FAQ, COPYRIGHT, NEWS, README 25 export UTT_SHARE_DIR=${UTT_DIR}/share 21 26 22 27 ############################## … … 43 48 mkdir -p ${UTT_LANG_DIR} 44 49 mkdir -p ${UTT_LIB_DIR} 45 mkdir -p ${UTT_SHARE_DIR} 50 mkdir -p ${UTT_SHARE_DIR}/utt 51 mkdir -p ${UTT_SHARE_DIR}/doc/utt 52 mkdir -p ${UTT_SHARE_DIR}/info 53 mkdir -p ${UTT_SHARE_DIR}/man/man3 46 54 47 55 .PHONY: components … … 68 76 .PHONY: clean_doc 69 77 clean_doc: 70 cd $(CUR_DIR)/doc && make clean 78 cd $(CUR_DIR)/doc && make clean; cd $(CUR_DIR) 71 79 72 80 .PHONY: clean_dist … … 78 86 # ------------------------------------------------------------------ 79 87 .PHONY: build 80 build: compile build_conf build_lib build_ share88 build: compile build_conf build_lib build_doc 81 89 @echo "All files builded successfully!" 82 90 83 91 .PHONY: build_conf 84 92 build_conf: 85 cp $(CUR_DIR)/conf/* $(UTT_CONF_DIR)/93 cp $(CUR_DIR)/conf/*.conf $(UTT_CONF_DIR)/ 86 94 87 95 .PHONY: build_lib … … 89 97 cp $(CUR_DIR)/lib/* $(UTT_LIB_DIR)/ 90 98 91 .PHONY: build_ share92 build_ share:93 @echo "We need to create documentation here!"99 .PHONY: build_doc 100 build_doc: 101 cd $(CUR_DIR)/doc && make && make copy; cd $(CUR_DIR) 94 102 95 103 … … 99 107 # ------------------------------------------------------------------ 100 108 .PHONY: distribute 101 distribute: 102 @echo " We need to create distribution here!"109 distribute: build dist_tarball dist_rpm 110 @echo "All distributions created successfully!" 103 111 112 .PHONY: dist_tarball 113 dist_tarball: build 114 cd $(CUR_DIR)/dist && make tarball; cd $(CUR_DIR) 115 116 .PHONY: dist_rpm 117 dist_rpm: build 118 cd $(CUR_DIR)/dist && make rpm; cd $(CUR_DIR) 119 120 .PHONY: dist_deb 121 dist_deb: build 122 cd $(CUR_DIR)/dist && make deb; cd $(CUR_DIR) 104 123 105 124
Note: See TracChangeset
for help on using the changeset viewer.