Check-in Number:
|
353 | |
Date: |
2001-Jan-20 15:27:11 (local)
2001-Jan-20 14:27:11 (UTC) |
User: | rse |
Branch: | |
Comment: |
Provide both "make dist" and "make snap". |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/petidomo/Makefile.in 1.42 -> 1.43
--- Makefile.in 2001/01/20 14:17:48 1.42
+++ Makefile.in 2001/01/20 14:27:11 1.43
@@ -130,16 +130,25 @@
@OPT="-s`$(SHTOOL) version -lc -dshort version.c`"; \
$(SHTOOL) version -lc -n 'Petidomo' -p petidomo_ $$OPT version.c
+# roll release or snapshot source distribution tarballs
dist: distclean
- @echo "Fixing source tree permissions"; \
- $(SHTOOL) fixperm *
- @echo "Rolling source distribution tarball"; \
+ @echo "Rolling RELEASE source distribution tarball"; \
+ $(SHTOOL) fixperm *; \
V=`$(SHTOOL) version -lc -dshort version.c`; \
$(SHTOOL) tarball \
-o petidomo-$$V.tar.gz -d petidomo-$$V -u ossp -g petidomo \
-e 'CVS,\.cvsignore,\.configure,ChangeLog*,\.\#.*,*~$$,\.[ao]$$' \
-c 'gzip -9' .; \
ls -l petidomo-$$V.tar.gz
+snap: distclean
+ @echo "Rolling SNAPSHOT source distribution tarball"; \
+ $(SHTOOL) fixperm *; \
+ D=`date '+%Y%d%m'`; \
+ $(SHTOOL) tarball \
+ -o petidomo-SNAP-$$D.tar.gz -d petidomo-SNAP-$$V -u ossp -g petidomo \
+ -e 'CVS,\.cvsignore,\.configure,ChangeLog*,\.\#.*,*~$$,\.[ao]$$' \
+ -c 'gzip -9' .; \
+ ls -l petidomo-SNAP-$$D.tar.gz
# Dependencies
|
|