]> TLD Linux GIT Repositories - rc-scripts.git/blob - Makefile.am
- disable lock checks (happens on LUKS2 and fails during system boot)
[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 DISTCLEANFILES = \
40         ChangeLog
41
42 ChangeLog:
43         $(top_srcdir)/changelog.sh $(top_builddir)
44
45 dist-hook:
46         rm -f $(top_builddir)/ChangeLog
47         $(MAKE) -C $(top_builddir) ChangeLog
48
49 install-data-hook:
50         install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)
51         [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
52
53 uninstall-hook:
54         [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] && rm -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
55
56 # make rpms
57 rpm: $(PACKAGE).spec
58         $(MAKE) dist
59         rpmbin=`LC_ALL=C rpm -ta 2>&1 | grep -q "unknown option" && echo rpmbuild || echo rpm` ; \
60                 $$rpmbin -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz