blob: bd59a4b9d6a731ed2c374d5c1f15cf114bb887c9 (
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
26
27
|
--- pwlib-1.8.7/Makefile.in.orig 2004-06-24 12:46:48.000000000 +0000
+++ pwlib-1.8.7/Makefile.in 2005-09-09 15:48:10.000000000 +0000
@@ -268,14 +268,16 @@
ln -sf $(PTLIB_FILE) libpt.@SHAREDLIBEXT@ \
)
ifeq (1, $(HAS_PLUGINS))
- cd plugins/pwlib/device/ ; \
- ( for dir in ./* ;\
- do mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
- chmod 755 $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
- (for fn in ./$$dir/*.so ; \
- do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \
- done ); \
- done )
+ if [ -d plugins/pwlib/device ] ; then \
+ cd plugins/pwlib/device/ ; \
+ ( for dir in ./* ;\
+ do mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
+ chmod 755 $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
+ (for fn in ./$$dir/*.so ; \
+ do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \
+ done ); \
+ done ) \
+ fi
endif
$(INSTALL) -m 444 include/ptlib.h $(DESTDIR)$(PREFIX)/include
$(INSTALL) -m 444 include/ptbuildopts.h $(DESTDIR)$(PREFIX)/include
|