File: Makefile.am

package info (click to toggle)
xmlstarlet 1.0.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 2,164 kB
  • ctags: 389
  • sloc: ansic: 4,578; sh: 3,109; xml: 1,821; makefile: 92
file content (28 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (3)
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
#
SUBDIRS = \
 	src doc

DIST_SUBDIRS = src doc

EXTRA_DIST = \
	README TODO Copyright COPYING

confexecdir=$(libdir)
m4datadir=$(datadir)/aclocal

dist-hook: xmlstarlet.spec
	-cp xmlstarlet.spec $(distdir)
	(cd $(srcdir) ; tar -cf - --exclude CVS doc examples solaris tests) | (cd $(distdir); tar xf -)

cleantar:
	@(rm -f xmlstarlet*.tar.gz)

rpm: cleantar
	@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)

dummy:

check-local: tests

tests: dummy 
	@(cd tests; ./runTests)