]> granicus.if.org Git - cronie/commitdiff
build-sys: make clean needs to remove cron-paths.h
authorSami Kerola <kerolasa@iki.fi>
Sat, 24 Nov 2012 10:29:04 +0000 (10:29 +0000)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 26 Nov 2012 15:58:55 +0000 (16:58 +0100)
The file is generated at build time.  This change is needed to make
distcheck work without an error.

[...]
ERROR: files left in build directory after distclean:
./src/cron-paths.h

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
src/Makefile.am

index a3f57c81f23774350ce23f0c798ef0151357cbf7..60dd103eef15c86ae9f0bf74a92f851fe18a8f0e 100644 (file)
@@ -26,6 +26,7 @@ LDADD = $(LIBSELINUX) $(LIBPAM) $(LIBAUDIT)
 # If they are configurable, they are declared in configure script.
 # Depends on this Makefile, because it uses make variables.
 # CCD 2010/09/10 added CRON_HOSTNAME for clustered-cron.
+CLEANFILES = cron-paths.h
 cron-paths.h: Makefile
        @echo 'creating $@'
        @sed >$@ 's/ *\\$$//' <<\END #\