diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-29 11:27:40 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-29 11:27:40 (EDT) |
commit | f4691ddd85f907af935a43468cb3d65d99ff5f12 (patch) | |
tree | c4a811d436c2375c1343e87c54418a99b87755ca | |
parent | a3682912e3b39319a1017820c56803e87683d1a1 (diff) |
source.mk: Convert macros to lower case
-rw-r--r-- | source.mk | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,13 +1,13 @@ -UPSTREAM_VER = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ +upstream_ver = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ sed 's/^\([0-9a-z.~-][0-9a-z.~-]*\)+sip[1-9][0-9]*.*$$/\1/') -UPSTREAM_URL = http://zlib.net/zlib-$(UPSTREAM_VER).tar.gz -SOURCE_ARCHIVE = ../zlib-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 +upstream_url = http://zlib.net/zlib-$(upstream_ver).tar.gz +source_archive = ../zlib-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 -$(SOURCE_ARCHIVE): - wget -O - "$(UPSTREAM_URL)" | tar -xz - rm -f "zlib-$(UPSTREAM_VER)"/doc/rfc*.txt - tar -cjf '$(SOURCE_ARCHIVE)' "zlib-$(UPSTREAM_VER)" +$(source_archive): + wget -O - "$(upstream_url)" | tar -xz + rm -f "zlib-$(upstream_ver)"/doc/rfc*.txt + tar -cjf '$(source_archive)' "zlib-$(upstream_ver)" rm -Rf src - mv "zlib-$(UPSTREAM_VER)" src + mv "zlib-$(upstream_ver)" src -source: $(SOURCE_ARCHIVE) +source: $(source_archive) |