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

21 lines
335 B
Makefile

-include ../config.mk
INCS = xbps_api.h
.PHONY: all
all:
sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS}
.PHONY: install
install:
install -d $(DESTDIR)$(INCLUDEDIR)
install -m 644 $(INCS) $(DESTDIR)$(INCLUDEDIR)
.PHONY: uninstall
uninstall:
-rm -f $(DESTDIR)$(INCLUDEDIR)/$(INCS)
.PHONY: clean
clean:
-rm -f ${INCS}