.mdw-build.conf: Don't try `vpath' builds with this package.
[strayman] / Makefile.m4
index f8442a9..d9c2e07 100644 (file)
@@ -23,8 +23,6 @@
 ## along with strayman; if not, write to the Free Software Foundation,
 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-AUTOMAKE_OPTIONS = foreign
-
 pkglatexdir = ${texmfdir}/tex/latex/${PACKAGE}
 pkgdocdir = ${texmfdir}/doc/latex/${PACKAGE}
 
@@ -67,9 +65,16 @@ EXTRA_DIST = $(SRC) $(AUX) $(DVI) $(OBJ) strayman.ins Makefile.m4
 MAINTAINERCLEANFILES = $(OBJ) $(DVI)
 CLEANFILES = *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans *.ps *.pdf
 
+dist-hook::
+       echo $(VERSION) >$(distdir)/RELEASE
+EXTRA_DIST += auto-version
+
 Makefile.am: Makefile.m4
        cd $(srcdir) && m4 Makefile.m4 >Makefile.am
 
 .PHONY: dvi
 
+EXTRA_DIST += debian/changelog debian/control debian/copyright debian/compat
+EXTRA_DIST += debian/rules
+
 ##----- That's all, folks ---------------------------------------------------