]> git.ozlabs.org Git - ppp.git/commitdiff
pppd/Makefile.am: correctly install-but-not-distribute pppdconf.h (#570)
authorAlexander Kanavin <alex@linutronix.de>
Wed, 22 Oct 2025 19:23:54 +0000 (21:23 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Oct 2025 19:23:54 +0000 (20:23 +0100)
BUILT_SOURCE statement had no effect, and is replaced by the correct
statement (verified with 'make dist' and 'make install').

This should resolve https://github.com/ppp-project/ppp/issues/541

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
pppd/Makefile.am

index 5e708f89959a23101d088c24b4dd1f6986a59479..7814b57b484aacee7d75cebc9ad201c3ae60f774 100644 (file)
@@ -53,7 +53,6 @@ pppd_include_HEADERS = \
     multilink.h \
     pppd.h \
     options.h \
-    pppdconf.h \
     session.h \
     upap.h 
 
@@ -90,7 +89,7 @@ pppd_SOURCES = \
     utils.c
 
 # Things produced by the build process, to be installed but not distributed
-BUILT_SOURCE = \
+nodist_pppd_include_HEADERS = \
     pppdconf.h
 
 pppd_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}\" -DPPPD_RUNTIME_DIR='"@PPPD_RUNTIME_DIR@"' -DPPPD_LOGFILE_DIR='"@PPPD_LOGFILE_DIR@"'