wok-stable diff mISDN/stuff/Makefile.u @ rev 2805
update to 4.5.0
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Wed Apr 29 09:36:23 2009 +0000 (2009-04-29) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mISDN/stuff/Makefile.u Wed Apr 29 09:36:23 2009 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +--- mISDN-1_1_7_2/config/Makefile 1.5 ++++ mISDN-1_1_7_2/config/Makefile 1.6 +@@ -3,8 +3,9 @@ 1.7 + @echo "Please run 'make install'." 1.8 + 1.9 + install: 1.10 +- install -D -m755 mISDN $(INSTALL_PREFIX)/usr/sbin/mISDN 1.11 +- for file in $(shell echo *.xsl); do install -D -m644 $${file} $(INSTALL_PREFIX)/usr/lib/mISDN/$${file}; done 1.12 ++ mkdir -p $(INSTALL_PREFIX)/usr/sbin $(INSTALL_PREFIX)/usr/lib/mISDN 1.13 ++ cp mISDN $(INSTALL_PREFIX)/usr/sbin/mISDN 1.14 ++ for file in $(shell echo *.xsl); do cp $${file} $(INSTALL_PREFIX)/usr/lib/mISDN/$${file}; done 1.15 + if [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \ 1.16 + if [ -e $(INSTALL_PREFIX)/etc/init.d/mISDN ]; then rm -rf $(INSTALL_PREFIX)/etc/init.d/mISDN; fi; \ 1.17 + ln -s $(INSTALL_PREFIX)/usr/sbin/mISDN $(INSTALL_PREFIX)/etc/init.d/mISDN; \ 1.18 +--- mISDN-1_1_7_2/Makefile 1.19 ++++ mISDN-1_1_7_2/Makefile 1.20 +@@ -4,7 +4,7 @@ 1.21 + MINOR=1 1.22 + SUBMINOR=7_2 1.23 + 1.24 +-INSTALL_PREFIX := / 1.25 ++INSTALL_PREFIX:=$(DESTDIR) 1.26 + export INSTALL_PREFIX 1.27 + 1.28 + #PATH to linux source/headers 1.29 +@@ -15,8 +15,9 @@ 1.30 + endif 1.31 + 1.32 + MODS=/lib/modules/$(KVERS) 1.33 ++ifndef LINUX 1.34 + LINUX=$(MODS)/build 1.35 +-LINUX_SOURCE=$(MODS)/source 1.36 ++endif 1.37 + UPDATE_MODULES=$(shell which update-modules) 1.38 + MODULES_UPDATE=$(shell which modules-update) 1.39 + DEPMOD=$(shell which depmod)