X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=python%2FMakefile-files;h=87941a4c08a9975221d44e1b4b008f06c344f581;hb=c7a26a8cea7a696fea700f1882db51ad9c9cedcb;hp=cb277317d5859914ea6ee8dfb51e89d9ff0003c7;hpb=61a95befd1830137b0d817da60869f23f63d9540;p=util-vserver.git diff --git a/python/Makefile-files b/python/Makefile-files index cb27731..87941a4 100644 --- a/python/Makefile-files +++ b/python/Makefile-files @@ -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