summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/rtems_telnetd
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libnetworking/rtems_telnetd')
-rw-r--r--c/src/libnetworking/rtems_telnetd/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/libnetworking/rtems_telnetd/Makefile.am b/c/src/libnetworking/rtems_telnetd/Makefile.am
index ec7abddaba..42a7e39044 100644
--- a/c/src/libnetworking/rtems_telnetd/Makefile.am
+++ b/c/src/libnetworking/rtems_telnetd/Makefile.am
@@ -29,13 +29,14 @@ EXTRA_DIST = README
all-local: $(PREINSTALL_FILES)
+PREINSTALL_DIRS =
PREINSTALL_FILES =
if HAS_NETWORKING
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
@$(mkdir_p) $(PROJECT_INCLUDE)/rtems
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
+PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
$(PROJECT_INCLUDE)/rtems/pty.h: pty.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pty.h
@@ -47,5 +48,6 @@ PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/telnetd.h
endif
CLEANFILES += $(PREINSTALL_FILES)
+DISTCLEANFILES = $(PREINSTALL_DIRS)
include $(top_srcdir)/automake/local.am