aboutsummaryrefslogtreecommitdiffstats
path: root/conf/Makefile.am.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/Makefile.am.in')
-rw-r--r--conf/Makefile.am.in54
1 files changed, 54 insertions, 0 deletions
diff --git a/conf/Makefile.am.in b/conf/Makefile.am.in
new file mode 100644
index 0000000..64e6cb0
--- /dev/null
+++ b/conf/Makefile.am.in
@@ -0,0 +1,54 @@
+# $Id$
+#
+
+if BUILD_KDE
+KDESUB = kde2
+else
+KDESUB =
+endif
+
+SUBDIRS = intl po lib ncpd plpnfsd plpftp plpbackup plpprint sisinstall \
+ $(KDESUB) doc .
+
+EXTRA_DIST = CHANGES COPYING README TODO INSTALL ABOUT-NLS include/*.h* \
+ etc/*magic etc/*.in etc/*.c etc/psidump* conf/m4/kde/*.m4 \
+ conf/m4/plptools/*.m4 conf/[a-l]* conf/missing conf/mkinstalldirs \
+ debian/* patches/*
+DISTCLEANFILES = etc/psion etc/psion.SuSE etc/psion.SuSE8
+AUTOMAKE_OPTIONS = foreign
+
+TMPDEST=
+
+#
+# remove all intermediate files that can be recreated using
+# Makefile.cvs
+#
+maintainer-clean-local:
+ rm -f configure aclocal.m4 Makefile.in libtool \
+ Makefile.am configure.in \
+ conf/config.guess conf/config.sub conf/install-sh conf/ltconfig \
+ conf/ltmain.sh conf/missing conf/mkinstalldirs \
+ etc/*.spec ABOUT-NLS
+ find . -name "*~" -exec rm -f {} \;
+ find . -name "\.\#*" -exec rm -f {} \;
+ sh conf/intlclean
+
+install-data-local:
+ test "$(initdir)" != "none" && \
+ install -m 755 etc/psion $(DESTDIR)$(initdir)/psion || :
+
+dist-hook:
+ $(MAKE) TMPDEST=$(distdir)/ kdoc specfile
+ $(MAKE) -C $(distdir)/kde2 -f Makefile.am am_edit
+ test -f CVS/Root && conf/cvs2cl -W 1800 -S --no-wrap --prune \
+ --gmt -f $(distdir)/ChangeLog || \
+ cp -f ChangeLog $(distdir)/ChangeLog
+ # remove CVS from debian/ and patches/ subdirs
+ rm -rf $(distdir)/debian/CVS $(distdir)/patches/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