Menu

[r49]: / trunk / cppunit / Makefile.am  Maximize  Restore  History

Download this file

43 lines (29 with data), 911 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
if DOC
SUBDIRS = config cppunit include examples doc
else
SUBDIRS = config cppunit include examples
endif
DIST_SUBDIRS = config cppunit include examples doc
bin_SCRIPTS = cppunit-config
AUTOMAKE_OPTIONS = 1.4
EXTRA_DIST = cppunit.m4 cppunit.spec.in cppunit.spec
m4datadir = $(datadir)/aclocal
m4data_DATA = cppunit.m4
dist-hook:
cp -dpR examples/msvc6 $(distdir)/examples
find $(distdir) -name CVS -exec rm -rf {} \;
.PHONY: release snapshot rpm docs doc-dist
release:
rm -rf .deps */.deps
$(MAKE) distcheck
snapshot:
$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
rpm: dist
rpm -ta $(PACKAGE)-$(VERSION).tar.gz
mv -f /usr/src/redhat/SRPMS/$(PACKAGE)-$(VERSION)-*.rpm .
mv -f /usr/src/redhat/RPMS/*/$(PACKAGE)-$(VERSION)-*.rpm .
mv -f /usr/src/redhat/RPMS/*/$(PACKAGE)-doc-$(VERSION)-*.rpm .
docs:
$(MAKE) -C doc
doc-dist: docs
tar -zcf $(PACKAGE)-docs-$(VERSION).tar.gz -C doc/html .
MongoDB Logo MongoDB