#
-# $Id: Makefile.am,v 1.8 2002/03/19 18:17:58 misiek Exp $
+# $Id$
#
-SUBDIRS = src ppp isapnp sysconfig rc.d doc po
+SUBDIRS = src ppp isapnp sysconfig rc.d doc man po init
sysconf_DATA = \
adjtime \
inittab \
modules \
+ crypttab \
sysctl.conf
+firmware_SCRIPTS = \
+ firmware-loader.sh
+
profiledir = @sysconfdir@/profile.d
profile_DATA = \
EXTRA_DIST = \
$(sysconf_DATA) \
$(profile_DATA) \
+ $(firmware_SCRIPTS) \
$(sbin_SCRIPTS) \
- $(bin_SCRIPTS) \
- rc-scripts.spec
+ $(bin_SCRIPTS)
+
+install-data-hook:
+ install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)
+ [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
# make rpms
rpm: $(PACKAGE).spec
$(MAKE) dist
- rpm -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz
+ rpmbin=`LC_ALL=C rpm -ta 2>&1 | grep -q "unknown option" && echo rpmbuild || echo rpm` ; \
+ $$rpmbin -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz