xbps/data/Makefile

24 lines
397 B
Makefile
Raw Normal View History

2012-01-17 21:56:18 +05:30
-include ../config.mk
VERSION = 0.12
PCFILE = libxbps.pc
.PHONY: all
all:
sed -e "s|@@VERSION@@|${VERSION}|g;s|@@PREFIX@@|${PREFIX}|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)