xbps/data/Makefile
2012-10-03 10:10:20 +02:00

25 lines
427 B
Makefile

-include ../config.mk
PCFILE = libxbps.pc
.PHONY: all
all:
sed -e "s|@@VERSION@@|${VERSION}|g" \
-e "s|@@PREFIX@@|${PREFIX}|g" \
-e "s|@@EPREFIX@@|${EPREFIX}|g" \
${PCFILE}.in > ${PCFILE}
.PHONY: install
install:
install -d $(DESTDIR)$(PKGCONFIGDIR)
install -m644 $(PCFILE) $(DESTDIR)$(PKGCONFIGDIR)
.PHONY: uninstall
uninstall:
-rm -f $(DESTDIR)$(PKGCONFIGDIR)/$(PCFILE)
.PHONY: clean
clean:
-rm -f $(PCFILE)