equal
deleted
inserted
replaced
103 # Dist targets. |
103 # Dist targets. |
104 |
104 |
105 .PHONY: dist |
105 .PHONY: dist |
106 dist: dist-dictd dist-src |
106 dist: dist-dictd dist-src |
107 |
107 |
|
108 DIST_TARBALLS = $(DIST_DIR).tar.gz $(DIST_DIR).tar.bz2 |
|
109 DISTSRC_TARBALLS = $(DISTSRC_DIR).tar.gz $(DISTSRC_DIR).tar.bz2 |
|
110 |
108 .PHONY: dist-dictd |
111 .PHONY: dist-dictd |
109 dist-dictd: $(DIST_DIR).tar.gz $(DIST_DIR).tar.bz2 |
112 dist-dictd: $(DIST_TARBALLS) |
110 |
113 |
111 .PHONY: dist-src |
114 .PHONY: dist-src |
112 dist-src: $(DISTSRC_DIR).tar.gz $(DISTSRC_DIR).tar.bz2 |
115 dist-src: $(DISTSRC_TARBALLS) |
113 |
116 |
114 %.tar.gz: % |
117 %.tar.gz: % |
115 tar zcf $*.tar.gz $* |
118 tar zcf $*.tar.gz $* |
116 |
119 |
117 %.tar.bz2: % |
120 %.tar.bz2: % |
189 ################################################################ |
192 ################################################################ |
190 # Clean targets. |
193 # Clean targets. |
191 |
194 |
192 .PHONY: distclean |
195 .PHONY: distclean |
193 distclean: clean |
196 distclean: clean |
|
197 rm -f VERSION |
194 |
198 |
195 .PHONY: clean |
199 .PHONY: clean |
196 clean: |
200 clean: |
197 rm -f $(DICTDZ_FILES) $(INDEX_FILES) $(HTML_FILES) |
201 rm -f $(DICTDZ_FILES) $(INDEX_FILES) $(HTML_FILES) |
|
202 rm -rf $(DIST_DIR) $(DISTSRC_DIR) $(DIST_TARBALLS) $(DISTSRC_TARBALLS) |
198 |
203 |
199 ################################################################ |
204 ################################################################ |
200 # Helper target. |
205 # Helper target. |
201 |
206 |
202 .PHONY: help |
207 .PHONY: help |