wok view mISDN/stuff/Makefile.u @ rev 1587

clamav: fix daily.cvd permissions
author Paul Issott <paul@slitaz.org>
date Thu Oct 16 20:03:27 2008 +0000 (2008-10-16)
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)