X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=Makefile;h=cdbd8adeba9cfea94a6ebe33b214ab468a8fe925;hp=6a4906e6f8e93645fe706e0b687fe3d022ba61e6;hb=16beb6f8acd5e589be11168ab6c1944c4411052e;hpb=47e39851ca12749d24c66f948054c42289756ca7 diff --git a/Makefile b/Makefile index 6a4906e..cdbd8ad 100644 --- a/Makefile +++ b/Makefile @@ -24,9 +24,9 @@ options: config.h: cp config.def.h $@ -$(OBJ): config.h config.mk +$(OBJ): config.h common.h config.mk -$(WEBEXTOBJ): config.h config.mk +$(WEBEXTOBJ): $(WEBEXTSRC) config.h common.h config.mk $(CC) $(WEBEXTCFLAGS) $(CFLAGS) -c $(WEBEXTSRC) libsurf-webext.so: $(WEBEXTOBJ) @@ -57,7 +57,7 @@ install: all chmod 755 $(DESTDIR)$(PREFIX)/bin/surf mkdir -p $(DESTDIR)$(LIBDIR) cp -f libsurf-webext.so $(DESTDIR)$(LIBDIR) - chmod 644 $(DESTDIR)$(LIBDIR)/bin/libsurf-webext.so + chmod 644 $(DESTDIR)$(LIBDIR)/libsurf-webext.so mkdir -p $(DESTDIR)$(MANPREFIX)/man1 sed "s/VERSION/$(VERSION)/g" < surf.1 > $(DESTDIR)$(MANPREFIX)/man1/surf.1 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/surf.1