Moving binary to /usr/lib

This commit is contained in:
hooper114 2009-06-11 20:35:49 +00:00
parent 7622a9a9b7
commit 44f2a0dce6
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,10 @@ install:
$(MAKE) install -C backend/ $(MAKE) install -C backend/
$(MAKE) install -C frontend/ $(MAKE) install -C frontend/
uninstall:
$(MAKE) uninstall -C frontend/
$(MAKE) uninstall -C backend/
clean: clean:
$(MAKE) clean -C backend/ $(MAKE) clean -C backend/
$(MAKE) clean -C frontend/ $(MAKE) clean -C frontend/

View File

@ -51,6 +51,8 @@ install:
install -d $(DESTDIR)$(libdir) install -d $(DESTDIR)$(libdir)
mv libzint.* $(DESTDIR)$(libdir) mv libzint.* $(DESTDIR)$(libdir)
install -D -p --mode=0644 zint.h $(DESTDIR)$(includedir)/zint.h install -D -p --mode=0644 zint.h $(DESTDIR)$(includedir)/zint.h
ln -s /usr/local/lib/libqrencode.so /usr/lib/libqrencode.so
ln -s /usr/local/lib/libqrencode.so.3 /usr/lib/libqrencode.so.3
uninstall: uninstall:
rm $(DESTDIR)$(libdir)/libzint.* rm $(DESTDIR)$(libdir)/libzint.*