xbps/data/Makefile

27 lines
512 B
Makefile
Raw Normal View History

2012-01-17 21:56:18 +05:30
-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" \
2012-01-17 21:56:18 +05:30
${PCFILE}.in > ${PCFILE}
.PHONY: install
install:
install -d $(DESTDIR)$(PKGCONFIGDIR)
install -m644 $(PCFILE) $(DESTDIR)$(PKGCONFIGDIR)
install -d $(DESTDIR)/$(DBDIR)/keys
install -m644 *.plist $(DESTDIR)/$(DBDIR)/keys
2012-01-17 21:56:18 +05:30
.PHONY: uninstall
uninstall:
-rm -f $(DESTDIR)$(PKGCONFIGDIR)/$(PCFILE)
.PHONY: clean
clean:
-rm -f $(PCFILE)