diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-12 02:42:34 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-12 02:42:34 +0100 |
commit | adf63fbb2d256437faf1a5eee296478a66fe3056 (patch) | |
tree | 7475a2b886987bc30d26c91186361391efa0e7e6 /Makefile.am | |
parent | 95b0aa48c4dc9a267634fad5e8b4b10f959ca61c (diff) | |
download | blogc-adf63fbb2d256437faf1a5eee296478a66fe3056.tar.gz blogc-adf63fbb2d256437faf1a5eee296478a66fe3056.tar.bz2 blogc-adf63fbb2d256437faf1a5eee296478a66fe3056.zip |
build: github-lambda zipfile generation
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index 4218c47..b5fbbab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,6 +27,8 @@ EXTRA_DIST = \ $(NULL) CLEANFILES = \ + src/blogc-github-lambda/LICENSE \ + src/blogc-github-lambda/blogc \ $(NULL) MAINTAINERCLEANFILES = \ @@ -668,8 +670,6 @@ TESTS = \ CLEANFILES += \ $(check_SCRIPTS) \ - src/blogc-github-lambda/README \ - src/blogc-github-lambda/blogc \ $(NULL) @@ -705,22 +705,22 @@ endif ## Helpers: blogc-github-lambda -$(top_builddir)/blogc-github-lambda-$(VERSION).zip: $(top_builddir)/blogc $(top_srcdir)/LICENSE $(top_srcdir)/src/blogc-github-lambda/lambda_function.py - -rm -f $(top_builddir)/blogc-github-lambda-$(VERSION).zip - $(MKDIR_P) $(top_builddir)/src/blogc-github-lambda +blogc-github-lambda-$(VERSION).zip: blogc $(top_srcdir)/LICENSE $(top_srcdir)/src/blogc-github-lambda/lambda_function.py + -rm -f blogc-github-lambda-$(VERSION).zip + $(MKDIR_P) src/blogc-github-lambda $(INSTALL) -m 644 \ $(top_srcdir)/LICENSE \ - $(top_builddir)/src/blogc-github-lambda/ + src/blogc-github-lambda/ $(INSTALL) -m 644 -C \ $(top_srcdir)/src/blogc-github-lambda/lambda_function.py \ - $(top_builddir)/src/blogc-github-lambda/ + src/blogc-github-lambda/ $(INSTALL) -m 755 \ - $(top_builddir)/blogc \ - $(top_builddir)/src/blogc-github-lambda/blogc - cd $(top_builddir)/src/blogc-github-lambda && \ + blogc \ + src/blogc-github-lambda/blogc + cd src/blogc-github-lambda && \ zip -rq $(abs_top_builddir)/blogc-github-lambda-$(VERSION).zip LICENSE blogc lambda_function.py -blogc-github-lambda: $(top_builddir)/blogc-github-lambda-$(VERSION).zip +blogc-github-lambda: blogc-github-lambda-$(VERSION).zip .PHONY: dist-srpm valgrind blogc-github-lambda |