From e2c2ad71965354dd5309b150b31205730da16cb9 Mon Sep 17 00:00:00 2001 From: meator Date: Thu, 23 May 2024 20:12:11 +0200 Subject: [PATCH] include: Do not generate xbps.h.in xbps.h.in makes no mention of @@VERSION@@, so xbps.h.in gets copied verbatim to xbps.h. This adds unnecessary complexity and indirection. --- include/Makefile | 6 +----- include/{xbps.h.in => xbps.h} | 0 2 files changed, 1 insertion(+), 5 deletions(-) rename include/{xbps.h.in => xbps.h} (100%) diff --git a/include/Makefile b/include/Makefile index 4b953bc5b..67e6d9c1d 100644 --- a/include/Makefile +++ b/include/Makefile @@ -4,7 +4,7 @@ INCS = xbps.h .PHONY: all all: - sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS} + @: .PHONY: install install: @@ -17,7 +17,3 @@ install: .PHONY: uninstall uninstall: -rm -f $(DESTDIR)$(INCLUDEDIR)/$(INCS) - -.PHONY: clean -clean: - -rm -f ${INCS} diff --git a/include/xbps.h.in b/include/xbps.h similarity index 100% rename from include/xbps.h.in rename to include/xbps.h