]> git.pld-linux.org Git - projects/rc-scripts.git/blob - Makefile.am
fix call to autoheader
[projects/rc-scripts.git] / Makefile.am
1 #
2 #       $Id$
3 #
4
5 SUBDIRS = src lib ppp isapnp sysconfig rc.d doc man po init
6
7 sysconf_DATA = \
8         adjtime \
9         inittab \
10         modules \
11         crypttab \
12         sysctl.conf
13
14 firmware_SCRIPTS = \
15         firmware-loader.sh
16
17 profiledir = @sysconfdir@/profile.d
18
19 profile_DATA = \
20         lang.sh \
21         lang.csh
22
23 bin_SCRIPTS = run-parts.sh
24 sbin_SCRIPTS = \
25         setsysfont \
26         hwprofile \
27         service
28
29 EXTRA_DIST = \
30         $(sysconf_DATA) \
31         $(profile_DATA) \
32         $(firmware_SCRIPTS) \
33         $(sbin_SCRIPTS) \
34         $(bin_SCRIPTS)
35
36 install-data-hook:
37         install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)
38         [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
39
40 uninstall-hook:
41         [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] && rm -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
42
43 # make rpms
44 rpm: $(PACKAGE).spec
45         $(MAKE) dist
46         rpmbin=`LC_ALL=C rpm -ta 2>&1 | grep -q "unknown option" && echo rpmbuild || echo rpm` ; \
47                 $$rpmbin -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz
This page took 0.032648 seconds and 3 git commands to generate.