Simplify 'cpufreq' plugin using lxpanel_button_new_for_icon().
[lxde/lxpanel.git] / autogen.sh
index 676f858..8a986ef 100755 (executable)
@@ -1,21 +1,12 @@
 #! /bin/sh
-AM_VERSION=-1.10
-AC_VERSION=
-
-set -x
-
-if [ "x${ACLOCAL_DIR}" != "x" ]; then
-  ACLOCAL_ARG=-I ${ACLOCAL_DIR}
-fi
-
-${ACLOCAL:-aclocal$AM_VERSION} ${ACLOCAL_ARG}
-${AUTOHEADER:-autoheader$AC_VERSION} --force
-AUTOMAKE=${AUTOMAKE:-automake$AM_VERSION} libtoolize -c --automake --force
-AUTOMAKE=${AUTOMAKE:-automake$AM_VERSION} intltoolize -c --automake --force
-${AUTOMAKE:-automake$AM_VERSION} --add-missing --copy --include-deps
-${AUTOCONF:-autoconf$AC_VERSION}
-
-# mkinstalldirs was not correctly installed in some cases.
-cp -f /usr/share/${AUTOMAKE:-automake$AM_VERSION}/mkinstalldirs .
+set -ex
+
+test -d m4 || mkdir m4
+autoreconf -i -f
+intltoolize -c --automake --force
+#xsltproc -o man/lxpanel.1 -nonet \
+#    http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl man/lxpanel.xml
+#xsltproc -o man/lxpanelctl.1 -nonet \
+#    http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl man/lxpanelctl.xml
 
 rm -rf autom4te.cache