diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-31 20:38:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-31 20:38:02 +0000 |
commit | 0b2d0378a577421f4a025fe39760abda652bbcd8 (patch) | |
tree | 62498902abdb9d1d9a26191381214b0262a7f560 | |
parent | ignore generated gettext files (diff) | |
download | net-tools-0b2d0378a577421f4a025fe39760abda652bbcd8.tar.gz net-tools-0b2d0378a577421f4a025fe39760abda652bbcd8.tar.bz2 net-tools-0b2d0378a577421f4a025fe39760abda652bbcd8.zip |
improve dist target: include compiled gettext files, exclude scm files, and always prefix the paths in the tarball with the full versioned name
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | po/Makefile | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -154,8 +154,12 @@ clobber: clean dist: clobber + @$(MAKE) -C po $@ @echo Creating net-tools-$(RELEASE) in .. - @tar -cvz -f ../net-tools-$(RELEASE).tar.gz -C .. net-tools + @tar -cvz -f ../net-tools-$(RELEASE).tar.gz . \ + --transform='s,^[.],net-tools-$(RELEASE),' \ + --exclude=CVS --exclude=.cvsignore \ + --exclude='.git*' config.h: config.in Makefile diff --git a/po/Makefile b/po/Makefile index 155fdbb..25cf972 100644 --- a/po/Makefile +++ b/po/Makefile @@ -8,8 +8,9 @@ TUPDATE = msgmerge NLSPACKAGE = net-tools -include ../config.make +ALL_CATALOGS = de.mo fr.mo pt_BR.mo et_EE.mo cs.mo ifeq ($(I18N),1) -CATALOGS = de.mo fr.mo pt_BR.mo et_EE.mo cs.mo +CATALOGS = $(ALL_CATALOGS) else CATALOGS = endif @@ -61,6 +62,8 @@ update-po: Makefile clean: rm -f *mo +dist: $(ALL_CATALOGS) + distclean: clean rm -f .depend Makefile |