diff --git a/Makefile b/Makefile index 706dbd8..faf75ce 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,11 @@ dist: $(PACKAGE)-$(VERSION)/include/App.h \ $(PACKAGE)-$(VERSION)/include/Makefile \ $(PACKAGE)-$(VERSION)/include/project.conf \ + $(PACKAGE)-$(VERSION)/include/App/app.h \ $(PACKAGE)-$(VERSION)/include/App/appclient.h \ + $(PACKAGE)-$(VERSION)/include/App/appmessage.h \ $(PACKAGE)-$(VERSION)/include/App/appserver.h \ + $(PACKAGE)-$(VERSION)/include/App/apptransport.h \ $(PACKAGE)-$(VERSION)/include/App/Makefile \ $(PACKAGE)-$(VERSION)/include/App/project.conf \ $(PACKAGE)-$(VERSION)/src/appclient.c \ diff --git a/include/App/Makefile b/include/App/Makefile index 03de9f6..0d13479 100644 --- a/include/App/Makefile +++ b/include/App/Makefile @@ -14,13 +14,22 @@ clean: distclean: clean install: + $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/System/App + $(INSTALL) -m 0644 -- app.h $(DESTDIR)$(INCLUDEDIR)/System/App/app.h $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/System/App $(INSTALL) -m 0644 -- appclient.h $(DESTDIR)$(INCLUDEDIR)/System/App/appclient.h $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/System/App + $(INSTALL) -m 0644 -- appmessage.h $(DESTDIR)$(INCLUDEDIR)/System/App/appmessage.h + $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/System/App $(INSTALL) -m 0644 -- appserver.h $(DESTDIR)$(INCLUDEDIR)/System/App/appserver.h + $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/System/App + $(INSTALL) -m 0644 -- apptransport.h $(DESTDIR)$(INCLUDEDIR)/System/App/apptransport.h uninstall: + $(RM) -- $(DESTDIR)$(INCLUDEDIR)/System/App/app.h $(RM) -- $(DESTDIR)$(INCLUDEDIR)/System/App/appclient.h + $(RM) -- $(DESTDIR)$(INCLUDEDIR)/System/App/appmessage.h $(RM) -- $(DESTDIR)$(INCLUDEDIR)/System/App/appserver.h + $(RM) -- $(DESTDIR)$(INCLUDEDIR)/System/App/apptransport.h .PHONY: all clean distclean install uninstall diff --git a/include/App/project.conf b/include/App/project.conf index 39b4320..786f9a6 100644 --- a/include/App/project.conf +++ b/include/App/project.conf @@ -1,8 +1,17 @@ -includes=appclient.h,appserver.h +includes=app.h,appclient.h,appmessage.h,appserver.h,apptransport.h dist=Makefile +[app.h] +install=$(INCLUDEDIR)/System/App + [appclient.h] install=$(INCLUDEDIR)/System/App +[appmessage.h] +install=$(INCLUDEDIR)/System/App + [appserver.h] install=$(INCLUDEDIR)/System/App + +[apptransport.h] +install=$(INCLUDEDIR)/System/App