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