blob: 9c4dd08e3fa458277aab4dd9aac6c1cfd8fba6f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-bi,v 1.2 2006/01/16 09:41:48 adam Exp $
--- otherlibs/labltk/support/Makefile.orig 2004-10-18 09:01:42.000000000 +0200
+++ otherlibs/labltk/support/Makefile
@@ -24,12 +24,11 @@ PUBMLI=fileevent.mli protocol.mli textva
PUB= $(PUBMLI) $(PUBMLI:.mli=.cmi) tkthread.mli tkthread.cmi tkthread.cmo
install: lib$(LIBNAME).a $(PUB)
- if test -d $(INSTALLDIR); then : ; else mkdir $(INSTALLDIR); fi
- cp $(PUB) lib$(LIBNAME).a $(INSTALLDIR)
+ if test -d $(INSTALLDIR); then : ; else ${BSD_INSTALL_DATA_DIR} $(INSTALLDIR); fi
+ ${BSD_INSTALL_DATA} $(PUB) lib$(LIBNAME).a $(INSTALLDIR)
cd $(INSTALLDIR); $(RANLIB) lib$(LIBNAME).a
- cd $(INSTALLDIR); chmod 644 $(PUB) lib$(LIBNAME).a
if test -f dll$(LIBNAME).so; then \
- cp dll$(LIBNAME).so $(STUBLIBDIR)/dll$(LIBNAME).so; fi
+ ${BSD_INSTALL_DATA} dll$(LIBNAME).so $(STUBLIBDIR)/dll$(LIBNAME).so; fi
installopt: opt
@if test -d $(INSTALLDIR); then : ; else mkdir $(INSTALLDIR); fi
|