]> git.stg.codes - stg.git/blobdiff - stglibs/Makefile.in
Remove some shit from common lib Makefile
[stg.git] / stglibs / Makefile.in
index c6db5f999c9b26f4ae5ba73a03de1cda599eee17..d7694b45dc9f0a6df72f2cc65478cde946b0b735 100644 (file)
@@ -58,7 +58,7 @@ $(PROG): $(OBJS) $(STGLIBS)
        cp *.a $(DIR_LIB)
 
 includes: $(INCS)
-       cp -p $(INCS) $(DIR_INCLUDE)
+       cp -p $(INCS) $(DIR_INCLUDE)/stg
 
 clean:
        rm -f deps $(PROG) *.o *.a *.so tags *.*~ 
@@ -67,7 +67,7 @@ clean:
        done
 
 install: $(PROG)
-       mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/lib/stg
+       mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
 
 uninstall: