Skip to content

Commit

Permalink
include: Do not generate xbps.h.in
Browse files Browse the repository at this point in the history
xbps.h.in makes no mention of @@Version@@, so xbps.h.in gets copied
verbatim to xbps.h. This adds unnecessary complexity and indirection.
  • Loading branch information
meator committed May 23, 2024
1 parent e82437f commit e2c2ad7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ INCS = xbps.h

.PHONY: all
all:
sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS}
@:

.PHONY: install
install:
Expand All @@ -17,7 +17,3 @@ install:
.PHONY: uninstall
uninstall:
-rm -f $(DESTDIR)$(INCLUDEDIR)/$(INCS)

.PHONY: clean
clean:
-rm -f ${INCS}
File renamed without changes.

0 comments on commit e2c2ad7

Please sign in to comment.