Also install <Database/engine.h>

This commit is contained in:
Pierre Pronchery 2012-11-30 16:18:46 +01:00
parent 7bce8aef0d
commit 307e18717f
3 changed files with 8 additions and 1 deletions

View File

@ -40,6 +40,7 @@ dist:
$(PACKAGE)-$(VERSION)/include/Makefile \ $(PACKAGE)-$(VERSION)/include/Makefile \
$(PACKAGE)-$(VERSION)/include/project.conf \ $(PACKAGE)-$(VERSION)/include/project.conf \
$(PACKAGE)-$(VERSION)/include/Database/database.h \ $(PACKAGE)-$(VERSION)/include/Database/database.h \
$(PACKAGE)-$(VERSION)/include/Database/engine.h \
$(PACKAGE)-$(VERSION)/include/Database/Makefile \ $(PACKAGE)-$(VERSION)/include/Database/Makefile \
$(PACKAGE)-$(VERSION)/include/Database/project.conf \ $(PACKAGE)-$(VERSION)/include/Database/project.conf \
$(PACKAGE)-$(VERSION)/src/database.c \ $(PACKAGE)-$(VERSION)/src/database.c \

View File

@ -16,8 +16,11 @@ distclean: clean
install: install:
$(MKDIR) $(DESTDIR)$(INCLUDEDIR)/Database $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/Database
$(INSTALL) -m 0644 -- database.h $(DESTDIR)$(INCLUDEDIR)/Database/database.h $(INSTALL) -m 0644 -- database.h $(DESTDIR)$(INCLUDEDIR)/Database/database.h
$(MKDIR) $(DESTDIR)$(INCLUDEDIR)/Database
$(INSTALL) -m 0644 -- engine.h $(DESTDIR)$(INCLUDEDIR)/Database/engine.h
uninstall: uninstall:
$(RM) -- $(DESTDIR)$(INCLUDEDIR)/Database/database.h $(RM) -- $(DESTDIR)$(INCLUDEDIR)/Database/database.h
$(RM) -- $(DESTDIR)$(INCLUDEDIR)/Database/engine.h
.PHONY: all clean distclean install uninstall .PHONY: all clean distclean install uninstall

View File

@ -1,5 +1,8 @@
includes=database.h includes=database.h,engine.h
dist=Makefile dist=Makefile
[database.h] [database.h]
install=$(INCLUDEDIR)/Database install=$(INCLUDEDIR)/Database
[engine.h]
install=$(INCLUDEDIR)/Database