build: Rename target "tarball" to "dist".
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 18 Jul 2016 18:02:49 +0000 (20:02 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 8 Jan 2017 12:58:54 +0000 (13:58 +0100)
This is the name suggested in the make manual.  We keep "tarball"
target for a while though to not break existing scripts.

Makefile.real

index ef4b51c4274cf9c54be47a1f1955225ab83b67dd..8a3d7acc8c57141a0ae3b7a5a2e43947b1796ae4 100644 (file)
@@ -64,9 +64,9 @@ tarball := $(tarball_pfx).tar.bz2
 
 all: $(prefixed_executables) $(man_pages)
 .PHONY: all mostlyclean clean distclean maintainer-clean install \
-       install-strip man tarball
+       install-strip man dist tarball
+
 man: $(man_pages)
-tarball: $(tarball)
 
 include $(m4_ggo_dir)/makefile
 include $(test_dir)/makefile.test
@@ -366,7 +366,7 @@ install install-strip: all man
        $(INSTALL_DATA) $(man_pages) $(DESTDIR)$(mandir)
        $(MKDIR_P) $(DESTDIR)$(vardir) >/dev/null 2>&1 || true # not fatal, so don't complain
 
-$(tarball):
+$(tarball) dist tarball:
        $(Q) rm -rf $(tarball) $(tarball_pfx)
        $(Q) git archive --format=tar --prefix=$(tarball_pfx)/ HEAD \
                | tar --delete $(tarball_delete) > $(tarball_pfx).tar