Merge with Makefile from 'jdone' project.
--- a/Makefile Thu Jan 12 23:32:52 2012 +0200
+++ b/Makefile Thu Jan 12 23:39:07 2012 +0200
@@ -113,12 +113,12 @@
################################################################
# Dist targets.
+DIST_TARBALLS = $(DIST_DIR).tar.gz $(DIST_DIR).tar.bz2
+DISTSRC_TARBALLS = $(DISTSRC_DIR).tar.gz $(DISTSRC_DIR).tar.bz2
+
.PHONY: dist
dist: dist-dictd dist-src
-DIST_TARBALLS = $(DIST_DIR).tar.gz $(DIST_DIR).tar.bz2
-DISTSRC_TARBALLS = $(DISTSRC_DIR).tar.gz $(DISTSRC_DIR).tar.bz2
-
.PHONY: dist-dictd
dist-dictd: $(DIST_TARBALLS)
@@ -226,5 +226,6 @@
.PHONY: clean
clean:
rm -f $(DICTDZ_FILES) $(INDEX_FILES) $(HTML_FILES)
- rm -rf $(DIST_DIR) $(DISTSRC_DIR) $(DIST_TARBALLS) $(DISTSRC_TARBALLS)
+ rm -rf $(DIST_DIR) $(DIST_TARBALLS)
+ rm -rf $(DISTSRC_DIR) $(DISTSRC_TARBALLS)