X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/06b0566dd46034217b4e4ac82a8bf7b20ad202f4..e112de0060dee66079aae8568735574430398d7c:/include/Makefile

diff --git a/include/Makefile b/include/Makefile
index 68a33185..e8fbe640 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,4 +1,4 @@
-include ../../Makefile.conf
+include ../Makefile.conf
 
 INCS = stg/admin_conf.h \
        stg/admin_conf.inc.h \
@@ -7,6 +7,7 @@ INCS = stg/admin_conf.h \
        stg/auth.h \
        stg/const.h \
        stg/corp_conf.h \
+       stg/corporations.h \
        stg/ia_packets.h \
        stg/message.h \
        stg/module_settings.h \
@@ -14,11 +15,13 @@ INCS = stg/admin_conf.h \
        stg/notifer.h \
        stg/os_int.h \
        stg/plugin.h \
+       stg/plugin_creator.h \
        stg/rad_packets.h \
        stg/raw_ip_packet.h \
        stg/resetable.h \
        stg/rs_packets.h \
        stg/service_conf.h \
+       stg/services.h \
        stg/settings.h \
        stg/store.h \
        stg/tariff_conf.h \
@@ -35,6 +38,8 @@ INCS = stg/admin_conf.h \
        stg/utime.h \
        stg/version.h
 
-install:
+install: install-bin
+
+install-bin:
 	mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg
-	install -m $(DATA_MODE) -o $(OWNER) -t $(PREFIX)/usr/include/stg/ $(INCS)
+	install -m $(DATA_MODE) -o $(OWNER) $(INCS) $(PREFIX)/usr/include/stg/