diff --git a/Makefile.am b/Makefile.am
index e2e986f..c6ca184 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -180,7 +180,9 @@
if MAINTAINER_MODE
MAINTAINER_TARGETS = \
- magick-version
+ magick-version \
+ ImageMagick.spec \
+ $(PERLMAGICK_MAINTAINER_TARGETS)
endif
all-local: $(MAGICKPP_LOCAL_TARGETS) $(PERLMAGICK_ALL_LOCAL_TARGETS) $(MAINTAINER_TARGETS)
diff --git a/Makefile.in b/Makefile.in
index b6482e9..9e0e0ae 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -4579,7 +4579,9 @@
NEWS.txt
@MAINTAINER_MODE_TRUE@MAINTAINER_TARGETS = \
-@MAINTAINER_MODE_TRUE@ magick-version
+@MAINTAINER_MODE_TRUE@ magick-version \
+@MAINTAINER_MODE_TRUE@ ImageMagick.spec \
+@MAINTAINER_MODE_TRUE@ $(PERLMAGICK_MAINTAINER_TARGETS)
# Non-Automake subdirectories to distribute