[Pcsclite-cvs-commit] XCardII/src Makefile,1.8,1.9
rousseau@quantz.debian.org
rousseau@quantz.debian.org
Sat, 11 Oct 2003 22:00:17 +0200
Update of /cvsroot/muscleapps/XCardII/src
In directory quantz:/tmp/cvs-serv27828/src
Modified Files:
Makefile
Log Message:
move definition of DESTDIR from src/Makefile to Makefile and also
install the manpage. Thanks to Damien Sauveron for the patch.
Index: Makefile
===================================================================
RCS file: /cvsroot/muscleapps/XCardII/src/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile 11 Oct 2003 19:47:56 -0000 1.8
+++ Makefile 11 Oct 2003 20:00:15 -0000 1.9
@@ -1,8 +1,3 @@
-# by default install in /usr/local
-ifeq ($(DESTDIR),)
-DESTDIR=/usr/local
-endif
-
MOC = /usr/bin/moc
CPP = g++ -fPIC -g -Wall
DEFS= -DMSC_TARGET_UNIX -DQT_THREAD_SUPPORT -D_REENTRANT
@@ -29,6 +24,7 @@
mocfiles: $(MOCFILE)
install: xcard
+ install -d $(DESTDIR)/bin
install --mode=0755 --strip xcard $(DESTDIR)/bin/xcard
clean: