]> git.stg.codes - stg.git/blobdiff - include/Makefile
Version fix
[stg.git] / include / Makefile
index 68a3318582f6ba84a3830bd77a58cebbaf83f309..cc9e5373e35f57e6aefdfd6af30ddfcabc079345 100644 (file)
@@ -1,4 +1,4 @@
-include ../../Makefile.conf
+include ../Makefile.conf
 
 INCS = stg/admin_conf.h \
        stg/admin_conf.inc.h \
 
 INCS = stg/admin_conf.h \
        stg/admin_conf.inc.h \
@@ -35,6 +35,8 @@ INCS = stg/admin_conf.h \
        stg/utime.h \
        stg/version.h
 
        stg/utime.h \
        stg/version.h
 
-install:
+install: install-bin
+
+install-bin:
        mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg
        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/