Install the pretty library too.
[util-vserver.git] / python / Makefile-files
index cb27731..87941a4 100644 (file)
@@ -18,6 +18,7 @@
 ## 
 
 pyexec_LTLIBRARIES             += python/_libvserver.la
+pyexec_SCRIPTS                 += python/libvserver.py
 python__libvserver_la_SOURCES  =  python/_libvserver.c
 python__libvserver_la_CFLAGS   =  $(AM_CFLAGS) $(PYTHON_CFLAGS) \
                                   -I$(top_builddir)/python
@@ -28,7 +29,10 @@ EXTRA_DIST                   += python/ctags-constants.awk
 
 # FIXME: Dude, this is ugly.
 python/_libvserver.c: $(top_builddir)/python/_libvserver-constants.c
-$(top_builddir)/python/_libvserver-constants.c: lib/vserver.h
+$(top_builddir)/python/_libvserver-constants.c: lib/vserver.h \
+       $(top_srcdir)/python/ctags-constants.awk
        $(CTAGS) -x $(top_srcdir)/lib/vserver.h | \
                $(AWK) -f $(top_srcdir)/python/ctags-constants.awk \
                > $(top_builddir)/python/_libvserver-constants.c
+
+CLEANFILES +=          python/_libvserver-constants.c