diff options
author | Mark Stapp <mjs.ietf@gmail.com> | 2023-01-31 17:28:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-31 17:28:32 +0100 |
commit | 3b337b7d27dcc22a22e363653ccbf964bee985ed (patch) | |
tree | 00dce5ad4ee219805faa94c74153ac8a1fd98cb0 /lib | |
parent | Merge pull request #12708 from donaldsharp/no_notification (diff) | |
parent | yang: fix race condition in embedmodel.py mkdir (diff) | |
download | frr-3b337b7d27dcc22a22e363653ccbf964bee985ed.tar.xz frr-3b337b7d27dcc22a22e363653ccbf964bee985ed.zip |
Merge pull request #12687 from opensourcerouting/build-mkdir-p
build: consistently mkdir -p output for redirect
Diffstat (limited to 'lib')
-rw-r--r-- | lib/subdir.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/subdir.am b/lib/subdir.am index 754a7da63..18e9825a7 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -567,6 +567,7 @@ rt_enabled += --enabled zebra endif lib/route_types.h: $(top_srcdir)/lib/route_types.txt $(top_srcdir)/lib/route_types.pl + @$(MKDIR_P) lib $(PERL) $(top_srcdir)/lib/route_types.pl $(rt_enabled) < $(top_srcdir)/lib/route_types.txt > $@ DISTCLEANFILES += lib/route_types.h @@ -581,6 +582,7 @@ PHONY_GITVERSION=lib/gitversion.h.tmp .SILENT: lib/gitversion.h lib/gitversion.h.tmp GITH=lib/gitversion.h lib/gitversion.h.tmp: $(top_srcdir)/.git + @$(MKDIR_P) lib $(PERL) $(top_srcdir)/lib/gitversion.pl $(top_srcdir) > ${GITH}.tmp lib/gitversion.h: lib/gitversion.h.tmp { test -f ${GITH} && diff -s -q ${GITH}.tmp ${GITH}; } || cp ${GITH}.tmp ${GITH} |