[Pkg-privacy-commits] [libgsecuredelete] 05/12: Write gsd-config.h in one shot

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 20:07:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to annotated tag 0.2.1
in repository libgsecuredelete.

commit 993807cb5d7677b450f98a3ce149344d7b5f0ffc
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Thu Jan 16 03:19:53 2014 +0100

    Write gsd-config.h in one shot
---
 gsecuredelete/Makefile.am | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/gsecuredelete/Makefile.am b/gsecuredelete/Makefile.am
index 47e09a1..308d156 100644
--- a/gsecuredelete/Makefile.am
+++ b/gsecuredelete/Makefile.am
@@ -37,14 +37,14 @@ $(libgsecuredelete_la_SOURCES): gsd-config.h
 
 gsd-config.h: Makefile
 	$(AM_V_GEN) \
-	echo '#ifndef GSD_CONFIG_H'                                    > $@; \
-	echo '#define GSD_CONFIG_H'                                   >> $@; \
-	echo ''                                                       >> $@; \
-	echo '#define PACKAGE "$(PACKAGE)"'                           >> $@; \
-	echo '#define VERSION "$(VERSION)"'                           >> $@; \
-	echo '#define SRM_PATH "$(SRM_PATH)"'                         >> $@; \
-	echo '#define SFILL_PATH "$(pkglibexecdir)/gsd-sfill-helper"' >> $@; \
-	echo '#define SMEM_PATH "$(SMEM_PATH)"'                       >> $@; \
-	echo '#define SSWAP_PATH "$(SSWAP_PATH)"'                     >> $@; \
-	echo ''                                                       >> $@; \
-	echo '#endif /* guard */'                                     >> $@
+	( echo '#ifndef GSD_CONFIG_H'                                   && \
+	  echo '#define GSD_CONFIG_H'                                   && \
+	  echo ''                                                       && \
+	  echo '#define PACKAGE "$(PACKAGE)"'                           && \
+	  echo '#define VERSION "$(VERSION)"'                           && \
+	  echo '#define SRM_PATH "$(SRM_PATH)"'                         && \
+	  echo '#define SFILL_PATH "$(pkglibexecdir)/gsd-sfill-helper"' && \
+	  echo '#define SMEM_PATH "$(SMEM_PATH)"'                       && \
+	  echo '#define SSWAP_PATH "$(SSWAP_PATH)"'                     && \
+	  echo ''                                                       && \
+	  echo '#endif /* guard */' ) > $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git



More information about the Pkg-privacy-commits mailing list