X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/06b0566dd46034217b4e4ac82a8bf7b20ad202f4..868373be936ab08e51e1512a5173674ce64a2c70:/include/Makefile diff --git a/include/Makefile b/include/Makefile index 68a33185..cc9e5373 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 \ @@ -35,6 +35,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/