Add generated man pages to DISTCLEANFILES
authorEric Biggers <ebiggers3@gmail.com>
Fri, 22 Mar 2013 02:16:46 +0000 (21:16 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 22 Mar 2013 02:16:46 +0000 (21:16 -0500)
Makefile.am

index ed45a7b..8592d07 100644 (file)
@@ -137,7 +137,7 @@ pkgconfig_DATA      = wimlib.pc
 
 $(pkgconfig_DATA): config.status
 
-man1_MANS =                                    \
+wimlib_manpages =                              \
        doc/@IMAGEX_PROGNAME@.1                 \
        doc/@IMAGEX_PROGNAME@-append.1          \
        doc/@IMAGEX_PROGNAME@-apply.1           \
@@ -154,6 +154,9 @@ man1_MANS =                                 \
        doc/@IMAGEX_PROGNAME@-unmount.1         \
        doc/mkwinpeimg.1
 
+man1_MANS = $(wimlib_manpages)
+DISTCLEANFILES = $(wimlib_manpages)
+
 $(man1_MANS): config.status
 
 check_PROGRAMS = tests/tree-cmp