summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-03-23 20:48:29 +0000
committerewt <devnull@localhost>1998-03-23 20:48:29 +0000
commit3c0b3df2e44b04b275b3df3335666e2555f23a43 (patch)
tree3e085b19788a2404bbe70438f58b80566447e4a9 /popt
parentab9e98d3e3d9d1cdadabbdeb172b49d3ad79c010 (diff)
downloadlibrpm-tizen-3c0b3df2e44b04b275b3df3335666e2555f23a43.tar.gz
librpm-tizen-3c0b3df2e44b04b275b3df3335666e2555f23a43.tar.bz2
librpm-tizen-3c0b3df2e44b04b275b3df3335666e2555f23a43.zip
added autoconf into make archive
CVS patchset: 2047 CVS date: 1998/03/23 20:48:29
Diffstat (limited to 'popt')
-rw-r--r--popt/Makefile.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/popt/Makefile.in b/popt/Makefile.in
index ed4ac494b..58dc54f3e 100644
--- a/popt/Makefile.in
+++ b/popt/Makefile.in
@@ -16,6 +16,9 @@ LIBS=$(prefix)/lib
INCLUDE=$(prefix)/include
CPP=@CPP@
+VERSION=$(shell awk '/define version/ { print $$3 }' popt.spec)
+CVSTAG = r$(subst .,-,$(VERSION))
+
# -----------------------------------------------------------------------
CFLAGS = @CFLAGS@ @DEFS@ $(OPTS)
@@ -53,6 +56,16 @@ install:
$INSTALL_DATA) -m 644 popt.h $(PREFIX)/$(INCLUDE)/popt.h
$INSTALL_DATA) -m 644 $(LIBPOPT) $(PREFIX)/$(LIBS)/$(LIBPOPT)
+archive:
+ cvs tag -F $(CVSTAG) .
+ @rm -rf /tmp/popt-$(VERSION) /tmp/popt
+ @cd /tmp; cvs export -r$(CVSTAG) popt
+ @cd /tmp/popt; autoconf
+ @mv /tmp/popt /tmp/popt-$(VERSION)
+ @dir=$$PWD; cd /tmp; tar cvzf $$dir/popt-$(VERSION).tar.gz popt-$(VERSION)
+ @rm -rf /tmp/popt-$(VERSION)
+ @echo "The archive is in popt-$(VERSION).tar.gz"
+
ifeq (.depend,$(wildcard .depend))
include .depend
endif