summaryrefslogtreecommitdiff
blob: b784993aed0176f199d56d1ba03d5f1a9e484b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -Naur libmcal.orig/Makefile.in libmcal/Makefile.in
--- libmcal.orig/Makefile.in	2003-01-28 09:45:21.000000000 -0800
+++ libmcal/Makefile.in	2005-02-06 21:20:58.860199158 -0800
@@ -20,17 +20,17 @@
 all: libmcal.a libmcal.so
 
 install: libmcal.a libmcal.so
-	mkdir -p ${DESTDIR}@prefix@/lib/
+	mkdir -p ${DESTDIR}@libdir@
 	mkdir -p ${DESTDIR}@prefix@/include/mcal/
-	install -m 755 -o 0 -g 0 libmcal.a libmcal.so ${DESTDIR}@prefix@/lib
+	install -m 755 -o 0 -g 0 libmcal.a libmcal.so ${DESTDIR}@libdir@
 	install -m 644 -o 0 -g 0 \
 	  mcal.h bool.h datetime.h drivers.h cal_misc.h icalroutines.h \
 	  ${DESTDIR}@prefix@/include/mcal/
 	touch installed
 
 install-strip: installed
-	strip ${DESTDIR}@prefix@/lib/libmcal.so
-	strip ${DESTDIR}@prefix@/lib/libmcal.a
+	strip ${DESTDIR}@libdir@/libmcal.so
+	strip ${DESTDIR}@libdir@/libmcal.a
 
 libmcal.a: $(LIBOBJS)
 	rm -f $(LIBCAL)