Skip to content

Commit

Permalink
Build: Suggest good defaults for configure on rpm based systems
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Jun 19, 2013
1 parent 47ae0e7 commit f0de4c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions GNUmakefile
Expand Up @@ -61,11 +61,6 @@ COUNT = $(shell expr 1 + $(LAST_COUNT))

init:
./autogen.sh
echo "Now run configure with any arguments (eg. --prefix) specific to your system"
if [ -e $(shell which rpm) ]; then \
echo "Suggested invocation:"; \
rpm --eval %{configure} | grep -v program-prefix; \
fi

export:
rm -f $(PACKAGE)-dirty.tar.* $(PACKAGE)-tip.tar.* $(PACKAGE)-HEAD.tar.*
Expand Down
5 changes: 5 additions & 0 deletions autogen.sh
Expand Up @@ -32,6 +32,11 @@ if [ -f config.log ]; then
eval $last
else
echo Now run ./configure
echo "Now run configure with any arguments (eg. --prefix) specific to your system"
if [ -e `which rpm` ]; then
echo "Suggested invocation:"
rpm --eval %{configure} | grep -v program-prefix
fi
fi

trap '' 0

0 comments on commit f0de4c1

Please sign in to comment.