diff --git a/Makefile b/Makefile index d1f8926c..86768a59 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,10 @@ install: $(MAKE) install -C backend/ $(MAKE) install -C frontend/ +uninstall: + $(MAKE) uninstall -C frontend/ + $(MAKE) uninstall -C backend/ + clean: $(MAKE) clean -C backend/ $(MAKE) clean -C frontend/ diff --git a/backend/Makefile b/backend/Makefile index e4652f6d..8a566b35 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -51,6 +51,8 @@ install: install -d $(DESTDIR)$(libdir) mv libzint.* $(DESTDIR)$(libdir) 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: rm $(DESTDIR)$(libdir)/libzint.*