summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 378cd157a6df1e0a2a0bc2cae5ed9a5d27625dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUBDIRS = src
EXTRA_DIST = ChangeLog COPYING README nss_directories.spec
DISTCHECK_CONFIGURE_FLAGS = --with-moduledir=$$dc_install_base/modules

NAME = nss_directories
VERSION=@VERSION@
RELEASE=@RELEASE@
CVSTAG = $(shell echo $(NAME)-$(VERSION) | sed -e s,\\.,_,g -e s,-,_,g)

tag:
	cvs tag -c $(CVSTAG)

force-tag:
	cvs tag -cF $(CVSTAG)

distdir = $(NAME)-$(VERSION)-$(RELEASE)
archive:
	$(RM) -fr /tmp/$(NAME)-$(VERSION)
	cd /tmp ; cvs -d $(shell cat $(top_srcdir)/CVS/Root) export -r $(CVSTAG) -d $(NAME)-$(VERSION)-$(RELEASE) $(NAME)
	cd /tmp/$(NAME)-$(VERSION) ; ./autogen.sh ; make distcheck
	mv -v /tmp/$(NAME)-$(VERSION)/$(NAME)-*.*.tar.* $(top_srcdir)/
	$(RM) -fr /tmp/$(NAME)-$(VERSION)