Skip to content

Commit 3565492

Browse files
committed
Make sure that install-headers installs generated files when run in a
clean source directory
1 parent efb57cd commit 3565492

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ install-headers-recursive:
267267
echo "attempting to install on host; aborting" >&2; \
268268
exit 1; \
269269
fi; \
270-
list='include'; \
270+
list='include sunrpc'; \
271271
for subdir in $$list; do \
272272
target=`echo $@ | sed s/-recursive//`; \
273273
echo "Making $$target in $$subdir"; \

include/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ syscall-list.h: $(csrcdir)/syscalls.list $(csrcdir)/gensys
7777

7878
includefiles = $(filter %.h, $(MISCFILES)) stab.def syscall-list.h
7979

80-
install-include install-headers: remove-stale
80+
install-include install-headers: remove-stale linker.h features.h syscall-list.h
8181
$(mkinstalldirs) $(DESTDIR)$(includedir)
8282
@list='$(includefiles)'; for p in $$list; do \
8383
if test -f $$p; then \

sunrpc/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ install: all-here install-rpcsvc-programs install-rpcsvc-headers
6060

6161
uninstall: uninstall-rpcsvc-programs uninstall-rpcsvc-headers
6262

63+
install-include install-headers: install-rpcsvc-headers
64+
6365
# Not suitable for cross-compiling.
6466
ifndef CROSS
6567

0 commit comments

Comments
 (0)