Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include: Do not generate xbps.h.in #598

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ tests/*/*/*/*_test
tests/*/*/*/*_tests
tests/*/*/*_test
tests/*/*/*_tests
include/xbps.h

# vim backup files
.*.swp
Expand Down
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}
@:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is the right solution. Removal of the all target would lead to install becoming the default one, which is not desirable. I have replaced sed with the "do nothing" @: statement instead.


.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.
Loading