[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 08/14: Makefile: added trick to use pre-dist-hook
From: |
gnunet |
Subject: |
[libmicrohttpd] 08/14: Makefile: added trick to use pre-dist-hook |
Date: |
Thu, 06 Jan 2022 17:07:31 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit a50dd9ccbe078b6e46f0ca9b9febce8889927f5d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Jan 5 13:42:21 2022 +0300
Makefile: added trick to use pre-dist-hook
---
Makefile.am | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 6180b119..02d94bf3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,7 +43,24 @@ W32VSAV = w32/VS-Any-Version/libmicrohttpd.vcxproj
w32/VS-Any-Version/libmicroht
EXTRA_DIST = \
libmicrohttpd.pc.in \
- $(W32COMMON) $(W32VS2013) $(W32VS2015) $(W32VS2017) $(W32VS2019)
$(W32VS2022) $(W32VSAV)
+ $(W32COMMON) $(W32VS2013) $(W32VS2015) $(W32VS2017) \
+ $(W32VS2019) $(W32VS2022) $(W32VSAV)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmicrohttpd.pc
+
+EXTRA_DIST += pre-dist-hook-dummy
+MOSTLYCLEANFILES = pre-dist-hook-dummy
+
+pre-dist-hook-dummy: pre-dist-hook Makefile
+ @echo "dummy" > $@
+
+dist-hook:
+ @chmod u+w '$(distdir)/pre-dist-hook-dummy' && \
+ rm -f '$(distdir)/pre-dist-hook-dummy'
+ @rm -f pre-dist-hook-dummy
+
+pre-dist-hook:
+ @echo "Preparing to make dist"
+
+.PHONY: pre-dist-hook
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 03/14: automake: use right automake options, (continued)
- [libmicrohttpd] 03/14: automake: use right automake options, gnunet, 2022/01/06
- [libmicrohttpd] 01/14: doc/Makefile: added phony target to force update timestamp, gnunet, 2022/01/06
- [libmicrohttpd] 04/14: Removed unused config.rpath from the root directory, gnunet, 2022/01/06
- [libmicrohttpd] 07/14: Removed unused acinclude.m4, gnunet, 2022/01/06
- [libmicrohttpd] 02/14: Configure: do not define unused var in Makefiles, gnunet, 2022/01/06
- [libmicrohttpd] 05/14: doc/Makefile: reordered targets and dependencies, gnunet, 2022/01/06
- [libmicrohttpd] 06/14: doc/Makefile: fixed *-local rules, gnunet, 2022/01/06
- [libmicrohttpd] 14/14: Doxygen: changed description of make targets, gnunet, 2022/01/06
- [libmicrohttpd] 09/14: root/.gitignore: cleanup, gnunet, 2022/01/06
- [libmicrohttpd] 10/14: root/.gitignore: updated, gnunet, 2022/01/06
- [libmicrohttpd] 08/14: Makefile: added trick to use pre-dist-hook,
gnunet <=
- [libmicrohttpd] 11/14: Makefile: added force update of doc version stamps before 'dist' target, gnunet, 2022/01/06
- [libmicrohttpd] 13/14: Fixed compiler warning in examples, gnunet, 2022/01/06
- [libmicrohttpd] 12/14: Autotools refactoring: better follow GNU coding standards, gnunet, 2022/01/06