summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-22 23:11:36 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-22 23:11:36 +0000
commit4a779c13cadc1af20cf4d5ab8de59e7b962c8738 (patch)
treeb512342c39423b4071f3e669295d7f9ed8fec6ff /Makefile
parent90e7b82338d7f27ab65714ec0404fb785effc897 (diff)
make a backup even when modifying non-combined rules files
generate a warning about editing non-combined rules files ensure that the warning is the last output from the 'make install' process git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1079 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f83812b..df066b9 100644
--- a/Makefile
+++ b/Makefile
@@ -335,12 +335,12 @@ endif
install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h
install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8
install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8
+ [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
+ [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE)
build_tools/genmodconf $(BUILDVER) "$(ROOT_PREFIX)" "$(filter-out zaptel,$(MODULES))"
- if [ -d /etc/modutils ]; then \
+ @if [ -d /etc/modutils ]; then \
/sbin/update-modules ; \
fi
- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
- [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE)
install-udev: devices