Skip to content

Commit

Permalink
make clean: rm generated .service and .conf-dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Apr 3, 2018
1 parent a87916d commit 50169e3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
7 changes: 7 additions & 0 deletions pdns/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,10 @@ systemdsystemunit_DATA = \
pdns.service \
pdns@.service

CLEANFILES += \
pdns.service \
pdns@.service

if TOOLS
ixfrdist.service: ixfrdist.service.in
$(AM_V_GEN)sed -e 's![@]bindir[@]!$(bindir)!' < $< > $@
Expand All @@ -1377,4 +1381,7 @@ systemdsystemunit_DATA += \
ixfrdist.service
endif # TOOLS

CLEANFILES += \
ixfrdist.service

endif # HAVE_SYSTEMD
12 changes: 11 additions & 1 deletion pdns/dnsdistdist/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ ACLOCAL_AMFLAGS = -I m4

SUBDIRS=ext/yahttp

CLEANFILES = dnsmessage.pb.cc dnsmessage.pb.h htmlfiles.h.tmp htmlfiles.h dnstap.pb.cc dnstap.pb.h
CLEANFILES = \
dnsmessage.pb.cc \
dnsmessage.pb.h \
htmlfiles.h.tmp \
htmlfiles.h \
dnstap.pb.cc \
dnstap.pb.h

dnslabeltext.cc: dnslabeltext.rl
$(AM_V_GEN)$(RAGEL) $< -o dnslabeltext.cc
Expand Down Expand Up @@ -310,6 +316,10 @@ systemdsystemunitdir = $(SYSTEMD_DIR)
systemdsystemunit_DATA = \
dnsdist.service \
dnsdist@.service

CLEANFILES += \
dnsdist.service \
dnsdist@.service
endif

if !HAVE_LUA_HPP
Expand Down
8 changes: 7 additions & 1 deletion pdns/recursordist/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ BUILT_SOURCES=htmlfiles.h \

CLEANFILES = htmlfiles.h \
dnsmessage.pb.cc \
dnsmessage.pb.h
dnsmessage.pb.h \
recursor.conf-dist

htmlfiles.h: html/*
./incfiles > $@
Expand Down Expand Up @@ -429,6 +430,11 @@ systemdsystemunitdir = $(SYSTEMD_DIR)
systemdsystemunit_DATA = \
pdns-recursor.service \
pdns-recursor@.service

CLEANFILES += \
pdns-recursor.service \
pdns-recursor@.service

endif

if !HAVE_LUA_HPP
Expand Down

0 comments on commit 50169e3

Please sign in to comment.