chiark / gitweb /
basic: modernize conf-files.c a bit
[elogind.git] / Makefile.am
index c36d718dd0fa233e44e39a9d4fcc08e1194476e1..2a0c76085882fdaf2e6368703f5b6271c4cb5dd7 100644 (file)
@@ -996,7 +996,7 @@ git-tar:
         for f in `find elogind-$(VERSION)-raw/ -type f | cut -d '/' -f 2-` ; do \
                $(MKDIR_P) elogind-$(VERSION)/`dirname $$f` ;            \
                $(AWK) 'BEGIN                    { i=0;e=0      }        \
-                       /^#if\s+0\s*$$/          { i=1;next     }        \
+                       /^#if\s+0.*elogind.*$$/  { i=1;next     }        \
                        /^#else\s*$$/            {                       \
                            { if ( i==1 ) e=1; else print }{next}        \
                        }                                                \