Skip to content

Instantly share code, notes, and snippets.

@pagenoare
Created June 5, 2012 19:50
Show Gist options
  • Save pagenoare/2877327 to your computer and use it in GitHub Desktop.
Save pagenoare/2877327 to your computer and use it in GitHub Desktop.
#!/bin/bash
patch -p0 < patch
sed -i 's/ docs//' Makefile.am &&
cp /usr/share/aclocal/ac_python_devel.m4 . &&
libtoolize -f -c &&
aclocal --force -I. &&
autoheader -f &&
autoconf -f &&
automake -a -c --gnu --foreign &&
./configure --with-irssi="$1" &&
make -C src constants &&
make &&
echo -e "\n\n***\nAll done!"
--- configure.in.def 2009-05-23 11:48:40.000000000 +0200
+++ configure.in 2009-05-23 11:49:29.000000000 +0200
@@ -3,8 +3,8 @@
#AC_PREREQ(2.59)
AC_INIT(irssi-python, test3, [email protected])
-AC_CONFIG_SRCDIR([src/pyconstants.c])
-AC_CONFIG_HEADER([pyirssi-config.h])
+AC_CONFIG_SRCDIR([src/pycore.c])
+AM_CONFIG_HEADER(pyirssi-config.h)
AM_INIT_AUTOMAKE([irssi-python], [test3])
AM_DISABLE_STATIC
AM_PROG_LIBTOOL
@@ -63,5 +63,5 @@
#AC_CONFIG_FILES([src/Makefile src/objects/Makefile])
#AC_OUTPUT([Makefile src/Makefile src/objects/Makefile])
#AC_OUTPUT([Makefile src/Makefile src/objects/Makefile])
-AC_CONFIG_FILES([Makefile scripts/Makefile docs/Makefile src/Makefile src/objects/Makefile])
+AC_CONFIG_FILES([Makefile scripts/Makefile src/Makefile src/objects/Makefile])
AC_OUTPUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment