summaryrefslogtreecommitdiff
path: root/ldpd/.gitignore
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-04 16:13:29 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-04 19:09:11 +0200
commit30237d294fcb522e3be0df3a5625178db6f47a32 (patch)
tree8447ae64a257378808081e27cca355a9694a05cd /ldpd/.gitignore
parent50ffbc124bca15b2ca09c1b8b2fd57de6c4d3da4 (diff)
build: non-recursive ldpd
This also fixes a build problem where using #include "ldpd/ldp_vty_cmds_clippy.c" results in the Makefile dependency tracking having both ldp_vty_cmds.c: ldp_vty_cmds_clippy.c ldp_vty_cmds.c: ../ldpd/ldp_vty_cmds_clippy.c (because, if it's included as "ldpd/..", it uses the "-I.." include path in gcc, so the gcc -MD dependency output is "../ldpd/...") ... all of which causes the build to try to build it twice (at the same time) and fail rather stupidly. With a non-recursive build, the two paths are identical and everything just works. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ldpd/.gitignore')
-rw-r--r--ldpd/.gitignore2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/.gitignore b/ldpd/.gitignore
index f52b227cb1..eee96c636f 100644
--- a/ldpd/.gitignore
+++ b/ldpd/.gitignore
@@ -1,4 +1,4 @@
-Makefile
+!Makefile
Makefile.in
*.o
ldpd