aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 1d84b9e7f16bad9db78f9fc062cefbb5f29c47b8 (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
26
27
28
29
30
31
32
# $Id$
#

SUBDIRS = intl po lib ncpd plpnfsd plpfuse plpftp plpprint sisinstall doc .

EXTRA_DIST = CHANGES COPYING README TODO HISTORY INSTALL ABOUT-NLS include/*.h* \
	etc/*magic etc/*.in etc/*.c etc/psidump* etc/udev-usbserial-plptools.rules \
	conf/m4/plptools/*.m4 conf/[a-l]* conf/missing conf/mkinstalldirs \
	debian/*
DISTCLEANFILES = etc/psion etc/psion.SuSE

TMPDEST=

install-data-local:
	test "$(initdir)" != "none" && \
		install -m 755 etc/psion $(DESTDIR)$(initdir)/psion || :

dist-hook:
	$(MAKE) TMPDEST=$(distdir)/ kdoc specfile
	test -f CVS/Root && cvs2cl -W 1800 -S --no-wrap --prune \
		--gmt -f $(distdir)/ChangeLog || \
		cp -f ChangeLog $(distdir)/ChangeLog
	rm -rf $(distdir)/debian/CVS

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

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

ACLOCAL_AMFLAGS = -I m4