35 lines
1.3 KiB
Text
35 lines
1.3 KiB
Text
$NetBSD: patch-aa,v 1.3 2009/07/07 14:18:10 joerg Exp $
|
|
|
|
--- Makefile.orig 2005-11-01 08:40:45.000000000 -0500
|
|
+++ Makefile
|
|
@@ -48,6 +48,7 @@ CONFIG=configure configure.in config.sub
|
|
FILES = Makefile README ACKNOWLEDGEMENTS COPYING $(CONFIG)
|
|
DIST_CLEAN = config.cache config.log config.status \
|
|
config/config config/system.mak FileList
|
|
+DOCDIR= $(PREFIX)/share/doc/flite
|
|
|
|
HOST_ONLY_DIRS = tools main
|
|
ALL = $(BUILD_DIRS)
|
|
@@ -105,13 +106,15 @@ tags:
|
|
|
|
install:
|
|
@echo Installing
|
|
- mkdir -p $(INSTALLBINDIR)
|
|
- mkdir -p $(INSTALLLIBDIR)
|
|
- mkdir -p $(INSTALLINCDIR)
|
|
- $(INSTALL) -m 644 include/*.h $(INSTALLINCDIR)
|
|
- @ $(MAKE) -C lib --no-print-directory install
|
|
- $(INSTALL) -m 755 bin/flite $(INSTALLBINDIR)
|
|
- $(INSTALL) -m 755 bin/flite_time $(INSTALLBINDIR)
|
|
+ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}$(INSTALLBINDIR)
|
|
+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(INSTALLLIBDIR)
|
|
+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(INSTALLINCDIR)
|
|
+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(DOCDIR)
|
|
+ $(BSD_INSTALL_DATA) include/*.h ${DESTDIR}$(INSTALLINCDIR)
|
|
+ $(BSD_INSTALL_DATA) $(LIBDIR)/libflite* ${DESTDIR}$(INSTALLLIBDIR)
|
|
+ $(BSD_INSTALL_PROGRAM) bin/flite ${DESTDIR}$(INSTALLBINDIR)
|
|
+ $(BSD_INSTALL_PROGRAM) bin/flite_time ${DESTDIR}$(INSTALLBINDIR)
|
|
+ $(BSD_INSTALL_DATA) README ${DESTDIR}$(DOCDIR)
|
|
|
|
time-stamp :
|
|
@ echo $(PROJECT_NAME) >.time-stamp
|