X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=Makefile;h=3e1d7ac74f3175a69e845454bbbae6737d61319a;hb=c7430fd3578af03d9fe998f3195756603295ce2f;hp=1016facbfd6fdf62d001626b767337ff536272db;hpb=a51c515dc1cdf93edb89484238259c941da8f3b6;p=project%2Fuci.git diff --git a/Makefile b/Makefile index 1016fac..3e1d7ac 100644 --- a/Makefile +++ b/Makefile @@ -56,10 +56,12 @@ clean: rm -f uci uci-static *.[oa] *.so* *.dylib* uci_config.h install: all + $(MKDIR) -p $(DESTDIR)$(prefix)/lib $(INSTALL) -m0644 libuci.a $(DESTDIR)$(prefix)/lib/ $(INSTALL) -m0755 $(SHLIB_FILE) $(DESTDIR)$(prefix)/lib/ ln -sf $(SHLIB_FILE) $(DESTDIR)$(prefix)/lib/libuci.$(SHLIB_EXT) - $(INSTALL) -m0755 uci $(DESTDIR)/usr/bin/ + $(MKDIR) -p $(DESTDIR)$(prefix)/bin + $(INSTALL) -m0755 uci $(DESTDIR)$(prefix)/bin/ test: all make -C test