icreate /dev/fd and /dev/std{in,out,err} as udev would have done it
[util-vserver.git] / python / Makefile-files
index cb27731..1721af1 100644 (file)
@@ -28,7 +28,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