summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <jbj>2015-05-01 20:14:40 +0000
committerjbj <jbj>2015-05-01 20:14:40 +0000
commite72b5350ebee7b7e92a76b264b5704dd3302d542 (patch)
treed2a3beab78072e1857df640194b4310a43e01c20
parenta013ddd0ae1740d1751ec8d5a8294fcfa66d94e9 (diff)
downloadlibpopt-e72b5350ebee7b7e92a76b264b5704dd3302d542.tar.gz
- syntastic: capture cfalgs to use syntastic.
-rw-r--r--.cvsignore1
-rw-r--r--Makefile.am7
2 files changed, 6 insertions, 2 deletions
diff --git a/.cvsignore b/.cvsignore
index 4d6af0f..9953ca5 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -2,6 +2,7 @@
.deps
.depend
.libs
+.syntastic_*
ABOUT-NLS
ChangeLog
Doxyfile
diff --git a/Makefile.am b/Makefile.am
index e2fe60a..9359472 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -136,10 +136,13 @@ endif
dist_man_MANS = popt.3
-BUILT_SOURCES += popt.pc
+BUILT_SOURCES += popt.pc .syntastic_c_config
+
+.syntastic_c_config: Makefile
+ @echo $(COMPILE) | tr ' ' '\n' | sed -e '1d' > $@
distclean-local:
- rm -rf .ccache
+ rm -rf .ccache .syntastic_c_config
clean-local:
rm -rf doxygen *.gcda *.gcno lcov-result popt-valgrind-result