aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 42988008ab562630df48c154391247341559ea00 (plain)
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
# $Id$
#
SUBDIRS = lib ncpd plpnfsd plpftp doc
EXTRA_DIST = COPYING README TODO INSTALL README.mjg include/*.h* etc/*magic etc/*.in patches
DISTCLEANFILES = etc/psion
AUTOMAKE_OPTIONS = foreign

TMPDEST=
#
# remove all intermediate files that can be recreated using
# Makefile.cvs
#
maintainer-clean-local:
	rm -f configure aclocal.m4 config.guess config.sub Makefile.in \
		install-sh ltconfig ltmain.sh missing mkinstalldirs etc/*.spec

dist-hook:
	$(MAKE) TMPDEST=$(distdir)/ kdoc specfile

kdoc:
	kdoc -d $(TMPDEST)doc/api -n libplp $(TMPDEST)lib/*.h

specfile:
	sed -e "s/_VERSION_/$(VERSION)/" < $(TMPDEST)etc/plptools.spec.in \
		> $(TMPDEST)etc/plptools.spec