Skip to content

Commit

Permalink
tools: fix for make dist
Browse files Browse the repository at this point in the history
- Do not include substitutedd xrdp-chkpriv into tarball
- Dot not install xrdp-chkpriv.in

While here, drop exec permission from *.c source file.

(cherry picked from commit f61a591)
  • Loading branch information
metalefty committed Dec 13, 2024
1 parent ecde11f commit dc1c33d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/chkpriv/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ xrdppkgdatadir=$(datadir)/xrdp
pkglibexec_PROGRAMS = \
xrdp-droppriv

dist_xrdppkgdata_SCRIPTS = \
nodist_xrdppkgdata_SCRIPTS = \
xrdp-chkpriv

AM_LDFLAGS =

AM_CPPFLAGS = \
-I$(top_srcdir)/common

xrdp_droppriv_SOURCES = xrdp-droppriv.c
xrdp_droppriv_SOURCES = \
xrdp-chkpriv.in \
xrdp-droppriv.c

xrdp_droppriv_LDADD = \
$(top_builddir)/common/libcommon.la
Expand All @@ -28,5 +30,5 @@ SUFFIXES = .in
.in:
$(subst_verbose)$(SUBST_VARS) $< > $@

CLEANFILES = xrdp-chkpriv
CLEANFILES = $(nodist_xrdppkgdata_SCRIPTS)

Empty file modified tools/chkpriv/xrdp-droppriv.c
100755 → 100644
Empty file.

0 comments on commit dc1c33d

Please sign in to comment.