aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am22
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