Skip to content

Commit a5e218e

Browse files
committed
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.
1 parent 3644282 commit a5e218e

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ tests/*/*/*/*_test
3333
tests/*/*/*/*_tests
3434
tests/*/*/*_test
3535
tests/*/*/*_tests
36-
include/xbps.h
3736

3837
# vim backup files
3938
.*.swp

include/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ INCS = xbps.h
44

55
.PHONY: all
66
all:
7-
sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS}
7+
@:
88

99
.PHONY: install
1010
install:
@@ -17,7 +17,3 @@ install:
1717
.PHONY: uninstall
1818
uninstall:
1919
-rm -f $(DESTDIR)$(INCLUDEDIR)/$(INCS)
20-
21-
.PHONY: clean
22-
clean:
23-
-rm -f ${INCS}
File renamed without changes.

0 commit comments

Comments
 (0)