Ticket #17680: patch-Makefile.diff
File patch-Makefile.diff, 1.4 KB (added by richard@…, 16 years ago) |
---|
-
Makefile
12 12 cd src && $(MAKE) REACTOR=.. 13 13 14 14 SHELL = /bin/sh 15 DEST = /usr/local 16 CONFIG_DEST = $(DEST)/include 15 DESTDIR = /usr/local 16 INCL_DEST = $(DESTDIR)/include 17 DOC_DEST = $(DESTDIR)/share/doc 18 LIB_DEST = $(DESTDIR)/lib 17 19 18 20 clean: 19 21 @-echo 'Making clean...' … … 23 25 install: install-headers install-libs 24 26 25 27 install-headers: 26 @-echo "installing into $( DEST)/include/svl $(DEST)/doc"28 @-echo "installing into $(INCL_DEST)/svl $(DOC_DEST)" 27 29 @-chmod a+r include/svl/* doc/* 28 30 @-umask 022 \ 29 && mkdir -p $(D EST)/doc $(DEST)/include/svl31 && mkdir -p $(DOC_DEST) $(INCL_DEST)/svl 30 32 @-umask 022 \ 31 && cp doc/* $(D EST)/doc\32 && cp include/svl/* $( DEST)/include/svl33 && cp doc/* $(DOC_DEST) \ 34 && cp include/svl/* $(INCL_DEST)/svl 33 35 @-echo "done." 34 36 35 37 install-libs: 36 @-echo "installing into $( DEST)/lib $(CONFIG_DEST)"38 @-echo "installing into $(LIB_DEST) $(INCL_DEST)" 37 39 @-chmod a+r lib/* include/SVLConfig.h 38 40 @-umask 022 \ 39 && mkdir -p $( DEST)/lib $(CONFIG_DEST)41 && mkdir -p $(LIB_DEST) $(INCL_DEST) 40 42 @-umask 022 \ 41 && cp lib/* $( DEST)/lib\42 && cp include/SVLConfig.h $( CONFIG_DEST)43 && cp lib/* $(LIB_DEST) \ 44 && cp include/SVLConfig.h $(INCL_DEST) 43 45 @-echo "done." 44 46 45 47 # setup for multi-architecture build in afs.