make: let src/Makefile set *dir vars properly
prefix suffice for setting *dir variables in src/Makefile; this does
away with setting does in in ./Makefile
@@ -45,9 +45,6 @@ endif
install: $(NAME).pc
@$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) \
- includedir=$(DESTDIR)$(includedir) \
- libdir=$(DESTDIR)$(libdir) \
- libdevdir=$(DESTDIR)$(libdevdir) \
relativelibdir=$(relativelibdir)
$(INSTALL) -D -m 644 $(NAME).pc $(DESTDIR)$(libdevdir)/pkgconfig/$(NAME).pc
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man2
