]> git.stg.codes - stg.git/blobdiff - include/Makefile
Rearranged some headers in sgconfig.
[stg.git] / include / Makefile
index 68a3318582f6ba84a3830bd77a58cebbaf83f309..e8fbe640a1087887263992df8a44503817be887c 100644 (file)
@@ -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/