]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # | |
3 | ||
4 | SUBDIRS = src lib ppp isapnp sysconfig rc.d doc man po init | |
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 | EXTRA_DIST = \ | |
29 | $(sysconf_DATA) \ | |
30 | $(profile_DATA) \ | |
31 | $(firmware_SCRIPTS) \ | |
32 | $(sbin_SCRIPTS) \ | |
33 | $(bin_SCRIPTS) | |
34 | ||
35 | install-data-hook: | |
36 | install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE) | |
37 | [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache | |
38 | ||
39 | uninstall-hook: | |
40 | [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] && rm -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache | |
41 | ||
42 | # make rpms | |
43 | rpm: $(PACKAGE).spec | |
44 | $(MAKE) dist | |
45 | rpmbin=`LC_ALL=C rpm -ta 2>&1 | grep -q "unknown option" && echo rpmbuild || echo rpm` ; \ | |
46 | $$rpmbin -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz |