wok-stable view 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 source
1 --- mISDN-1_1_7_2/config/Makefile
2 +++ mISDN-1_1_7_2/config/Makefile
3 @@ -3,8 +3,9 @@
4 @echo "Please run 'make install'."
6 install:
7 - install -D -m755 mISDN $(INSTALL_PREFIX)/usr/sbin/mISDN
8 - for file in $(shell echo *.xsl); do install -D -m644 $${file} $(INSTALL_PREFIX)/usr/lib/mISDN/$${file}; done
9 + mkdir -p $(INSTALL_PREFIX)/usr/sbin $(INSTALL_PREFIX)/usr/lib/mISDN
10 + cp mISDN $(INSTALL_PREFIX)/usr/sbin/mISDN
11 + for file in $(shell echo *.xsl); do cp $${file} $(INSTALL_PREFIX)/usr/lib/mISDN/$${file}; done
12 if [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \
13 if [ -e $(INSTALL_PREFIX)/etc/init.d/mISDN ]; then rm -rf $(INSTALL_PREFIX)/etc/init.d/mISDN; fi; \
14 ln -s $(INSTALL_PREFIX)/usr/sbin/mISDN $(INSTALL_PREFIX)/etc/init.d/mISDN; \
15 --- mISDN-1_1_7_2/Makefile
16 +++ mISDN-1_1_7_2/Makefile
17 @@ -4,7 +4,7 @@
18 MINOR=1
19 SUBMINOR=7_2
21 -INSTALL_PREFIX := /
22 +INSTALL_PREFIX:=$(DESTDIR)
23 export INSTALL_PREFIX
25 #PATH to linux source/headers
26 @@ -15,8 +15,9 @@
27 endif
29 MODS=/lib/modules/$(KVERS)
30 +ifndef LINUX
31 LINUX=$(MODS)/build
32 -LINUX_SOURCE=$(MODS)/source
33 +endif
34 UPDATE_MODULES=$(shell which update-modules)
35 MODULES_UPDATE=$(shell which modules-update)
36 DEPMOD=$(shell which depmod)