]> git.pld-linux.org Git - projects/rc-scripts.git/blame - Makefile.am
update autofoo rules to ensure ChangeLog is generated if missing
[projects/rc-scripts.git] / Makefile.am
CommitLineData
b0443108 1#
b0443108 2#
7e04fe0e 3
f7943bf6 4SUBDIRS = src lib ppp isapnp sysconfig rc.d doc man po
7e04fe0e 5
6sysconf_DATA = \
7 adjtime \
de1fc6ce
JR
8 inittab \
9 modules \
7c639071 10 crypttab \
de1fc6ce 11 sysctl.conf
7e04fe0e 12
565f8748
AM
13firmware_SCRIPTS = \
14 firmware-loader.sh
15
7e04fe0e 16profiledir = @sysconfdir@/profile.d
17
18profile_DATA = \
19 lang.sh \
20 lang.csh
763b88c2 21
868bbbe0 22bin_SCRIPTS = run-parts.sh
763b88c2
AM
23sbin_SCRIPTS = \
24 setsysfont \
25 hwprofile \
26 service
7e04fe0e 27
c77c7bb3
ER
28AM_DISTCHECK_CONFIGURE_FLAGS = \
29 --prefix=/usr \
30 --verbose
31
7e04fe0e 32EXTRA_DIST = \
33 $(sysconf_DATA) \
34 $(profile_DATA) \
565f8748 35 $(firmware_SCRIPTS) \
7e04fe0e 36 $(sbin_SCRIPTS) \
660dddce 37 $(bin_SCRIPTS)
7e04fe0e 38
fbf64ad4
ER
39DISTCLEANFILES = \
40 ChangeLog
41
42ChangeLog:
43 $(top_srcdir)/changelog.sh $(top_builddir)
44
0fac8b7d 45install-data-hook:
59e3d800
ER
46 install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)
47 [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
0fac8b7d 48
f6c13fab
JR
49uninstall-hook:
50 [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] && rm -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
51
7e04fe0e 52# make rpms
53rpm: $(PACKAGE).spec
54 $(MAKE) dist
2450b5fc 55 rpmbin=`LC_ALL=C rpm -ta 2>&1 | grep -q "unknown option" && echo rpmbuild || echo rpm` ; \
3a1d5637 56 $$rpmbin -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz
This page took 0.628666 seconds and 4 git commands to generate.