summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-11-29 12:10:16 +0300
committerAndrei Belov <defan@nginx.com>2018-11-29 12:10:16 +0300
commit63d16aa5f6faf6c96188188c58b4a369ec4f3a4c (patch)
tree5881cf52236ea9f70f6e29068f2dc0270a89b957 /pkg/deb/Makefile
parentdb631917190c44b3b55a15e4e5e88aa92e6b5334 (diff)
downloadunit-63d16aa5f6faf6c96188188c58b4a369ec4f3a4c.tar.gz
unit-63d16aa5f6faf6c96188188c58b4a369ec4f3a4c.tar.bz2
Packages: made unit-go architecture-dependent.
This closes #172 issue on GitHub.
Diffstat (limited to 'pkg/deb/Makefile')
-rw-r--r--pkg/deb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index 735f283b..2dcf6f50 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -199,7 +199,7 @@ endif
prebuild=`echo "$$MODULE_PREBUILD_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
preinstall=`echo "$$MODULE_PREINSTALL_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
- cat debian.module/$(if $(MODULE_NOARCH_$*),control-noarch.in,control.in) | sed \
+ cat debian.module/control.in | sed \
-e "s#%%NAME%%#unit-$(MODULE_SUFFIX_$*)#g" \
-e "s#%%SUMMARY%%#$(MODULE_SUMMARY_$*)#g" \
-e "s#%%CODENAME%%#$(CODENAME)#g" \
@@ -210,7 +210,7 @@ endif
-e "s#%%MODULE_BUILD_DEPENDS%%#$(MODULE_BUILD_DEPENDS_$*)#g" \
-e "s#%%MODULE_DEPENDS%%#$(MODULE_DEPENDS_$*)#g" \
> $@/$(SRCDIR)/debian/control ; \
- cat debian.module/$(if $(MODULE_NOARCH_$*),rules-noarch.in,rules.in) | sed \
+ cat debian.module/rules.in | sed \
-e "s#%%NAME%%#unit-$(MODULE_SUFFIX_$*)#g" \
-e "s#%%CODENAME%%#$(CODENAME)#g" \
-e "s#%%UNIT_VERSION%%#$(VERSION)#g" \