Doc.
[rsync/rsync.git] / popt-1.2 / Makefile.am
CommitLineData
62402cb1
MP
1# Makefile for popt library.
2
3AUTOMAKE_OPTIONS = 1.3 foreign
4
5SUBDIRS = po
6
7LDFLAGS = -L$(top_builddir)
8INCLUDES = -I$(top_srcdir)
9
10noinst_PROGRAMS = test1
11test1_SOURCES = test1.c
12test1_LDADD = -lpopt
13
14include_HEADERS = popt.h
15lib_LIBRARIES = libpopt.a
16libpopt_a_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
17
18CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
19
20.PHONY: archive
21archive:
22 @echo "This is $(PACKAGE)-$(VERSION)."
23 @sleep 5
24 @cvs -Q tag -F $(CVSTAG) .
25 @rm -rf /tmp/$(PACKAGE)-$(VERSION) /tmp/$(PACKAGE)
26 @cd /tmp; cvs -Q -d $(CVSROOT) export -r$(CVSTAG) $(PACKAGE) || :
27 @mv /tmp/$(PACKAGE) /tmp/$(PACKAGE)-$(VERSION)
28 @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh ; make depend; make distclean
29 @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh --noconfigure
30 @cd /tmp; tar czSpf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
31 @rm -rf /tmp/$(PACKAGE)-$(VERSION)
32 @cp /tmp/$(PACKAGE)-$(VERSION).tar.gz .
33 @rm -f /tmp/$(PACKAGE)-$(VERSION).tar.gz
34 @echo " "
35 @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz."