diff options
author | nalin <nalin> | 2002-11-18 20:29:23 +0000 |
---|---|---|
committer | nalin <nalin> | 2002-11-18 20:29:23 +0000 |
commit | 5163284b3fe025b93331e82f08db8f4d683f3dd0 (patch) | |
tree | ab8fe6509703dbb966d9cb0be9d1a34af0677178 /Makefile.am | |
parent | fa50831c92f4849af7b1e8cc95e87555b06d2ca6 (diff) | |
download | nss_directories-5163284b3fe025b93331e82f08db8f4d683f3dd0.tar.gz nss_directories-5163284b3fe025b93331e82f08db8f4d683f3dd0.tar.xz nss_directories-5163284b3fe025b93331e82f08db8f4d683f3dd0.zip |
try to get tagging working
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4771b57..c32902a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,21 @@ SUBDIRS = src EXTRA_DIST = README nss_directories.spec DISTCHECK_CONFIGURE_FLAGS = --with-moduledir=$$dc_install_base/modules + +NAME = nss_directories +VERSION = $(shell rpm -q --specfile --qf '%{version}' $(top_srcdir)/$(NAME).spec) +CVSTAG = $(shell echo $(NAME)-$(VERSION) | sed -e s,\\.,_,g -e s,-,_,g) + +tag: + cvs tag -c $(CVSTAG) + +force-tag: + cvs tag -cF $(CVSTAG) + +archive: + $(RM) -fr /tmp/$(NAME) + cd /tmp ; cvs -d $(shell cat $(top_srcdir)/CVS/Root) export -r $(CVSTAG) -d $(NAME)-$(VERSION) $(NAME) + cd /tmp/$(NAME)-$(VERSION) ; ./autogen.sh ; make distcheck + mv /tmp/$(NAME)-$(VERSION)/$(NAME)-$(VERSION).tar.* $(top_srcdir)/ + $(RM) -fr /tmp/$(NAME) + |