Skip to content

Commit

Permalink
Add a proper PACKAGE_TARNAME "Just In Case"(c)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewc authored and fare committed May 28, 2021
1 parent 299751c commit 237627a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1763,6 +1763,7 @@ PACKAGE_VERSION=$(git describe --tags)
fi

PACKAGE_STRING="Gerbil $PACKAGE_VERSION"
PACKAGE_TARNAME=$(echo $PACKAGE_SHORTNAME"-"$PACKAGE_VERSION | sed 's/\./_/g')



Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PACKAGE_VERSION=$(git describe --tags)
fi

PACKAGE_STRING="Gerbil $PACKAGE_VERSION"
PACKAGE_TARNAME=$(echo $PACKAGE_SHORTNAME"-"$PACKAGE_VERSION | sed 's/\./_/g')

AC_SUBST(PACKAGE_SHORTNAME)
AC_SUBST(PACKAGE_NAME)
Expand Down
5 changes: 3 additions & 2 deletions doc/configure-and-make.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Make. ~gerbil~ needs ~./configure; make; make install~ that folks use. In
particular it makes packaging easier. So, here we go!

* ./configure
* Generate ./configure
:PROPERTIES:
:CUSTOM_ID: configure
:END:
Expand All @@ -14,7 +14,7 @@ that is done, we generate a ~./configure~ which generates a ~Makefile~.
We do that using ~./doc/generate-configure-and-make.sh~

#+begin_src shell
./configure.sh
./doc/generate-configure-and-make.sh~
# [ ... ]

# Tangled 5 code blocks from configure.org
Expand All @@ -38,6 +38,7 @@ PACKAGE_VERSION=$(git describe --tags)
fi

PACKAGE_STRING="Gerbil $PACKAGE_VERSION"
PACKAGE_TARNAME=$(echo $PACKAGE_SHORTNAME"-"$PACKAGE_VERSION | sed 's/\./_/g')

AC_SUBST(PACKAGE_SHORTNAME)
AC_SUBST(PACKAGE_NAME)
Expand Down

0 comments on commit 237627a

Please sign in to comment.