Spring cleaning.
[skel] / Makefile.am
index 6080464..e0e7c75 100644 (file)
@@ -1,61 +1,83 @@
-## -*-makefile-*-
-##
-## $Id$
-##
-## Makefile for skel
-##
-## (c) 1998 Mark Wooding
-##
-
-##----- Licensing notice ----------------------------------------------------
-##
-## This file is part of Skel.
-##
-## Skel is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## Skel is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with Skel; if not, write to the Free Software Foundation,
-## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-## --- Basic automake configuration ---
-
-AUTOMAKE_OPTIONS = foreign
-
-## --- Emacs lisp files to build ---
+### -*-makefile-*-
+###
+### Makefile for skel
+###
+### (c) 1998 Mark Wooding
+###
+
+###----- Licensing notice ---------------------------------------------------
+###
+### This file is part of Skel.
+###
+### Skel is free software; you can redistribute it and/or modify
+### it under the terms of the GNU General Public License as published by
+### the Free Software Foundation; either version 2 of the License, or
+### (at your option) any later version.
+###
+### Skel is distributed in the hope that it will be useful,
+### but WITHOUT ANY WARRANTY; without even the implied warranty of
+### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+### GNU General Public License for more details.
+###
+### You should have received a copy of the GNU General Public License
+### along with Skel; if not, write to the Free Software Foundation,
+### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+###--------------------------------------------------------------------------
+### Emacs Lisp stuff.
 
 lisp_LISP = skel.el skel-init.el
 ELCFILES = skel.elc
 
-## --- Other things to install ---
-
-pkgdata_DATA = \
-       skeleton skelrc \
-       skelrc.c skelrc.cc skelrc.h skelrc.m skelrc.y skelrc.java \
-       skelrc.mxd \
-       skelrc.el \
-       skelrc.lisp \
-       skelrc.pm skelrc.pl skelrc.py skelrc.pyx \
-       skelrc.am skelrc.in \
-       skelrc.wml \
-       skelrc.hs skelrc.gc \
-       skeleton.skel skelrc.skel \
-       skeleton.texi skelrc.texi
-
-## --- Things to distribute ---
-
-EXTRA_DIST = \
-       $(pkgdata_DATA) \
-       skel-init.el \
+###--------------------------------------------------------------------------
+### Skeleton files for various languages.
+
+SKEL_FILES = skeleton skelrc
+
+## C and related languages
+SKEL_FILES += skelrc.c skelrc.h 
+SKEL_FILES += skelrc.cc
+SKEL_FILES += skelrc.m
+SKEL_FILES += skelrc.cs
+SKEL_FILES += skelrc.java
+
+## Lisp
+SKEL_FILES += skelrc.lisp skelrc.el
+
+## Python
+SKEL_FILES += skelrc.py skelrc.pyx
+
+## Perl
+SKEL_FILES += skelrc.pl skelrc.pm
+
+## Autotools
+SKEL_FILES += skelrc.am skelrc.ac
+
+## Haskell
+SKEL_FILES += skelrc.hs
+
+## Skeleton files
+SKEL_FILES += skeleton.skel skelrc.skel
+
+## Texinfo
+SKEL_FILES += skeleton.texi skelrc.texi
+
+###--------------------------------------------------------------------------
+### What goes where.
+
+pkgdata_DATA = $(SKEL_FILES)
+
+###--------------------------------------------------------------------------
+### Distribution.
+
+EXTRA_DIST = $(SKEL_FILES) skel-init.el
+
+###--------------------------------------------------------------------------
+### Debian.
+
+EXTRA_DIST += \
        debian/control debian/copyright debian/changelog debian/rules \
        debian/skel.emacsen-install debian/skel.emacsen-remove \
        debian/skel.emacsen-startup
 
-##----- That's all, folks ---------------------------------------------------
+###----- That's all, folks --------------------------------------------------