]> Dogcows Code - chaz/openbox/blobdiff - src/Makefile.am
move windows based on their *frame* not the client
[chaz/openbox] / src / Makefile.am
index b15f60b8afa08a8f51c51c714edc640906e08a04..cbb636405f4e99a5b54c1f4ea506664368236b4e 100644 (file)
@@ -23,7 +23,7 @@ openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \
                   openbox_wrap.cc
 openbox3_LDFLAGS= $(PYTHON_LDFLAGS)
 
-script_DATA = openbox.py
+script_DATA = ob.py
 
 EXTRA_DIST = $(script_DATA)
 
@@ -35,7 +35,9 @@ distclean-local:
 openbox.i: openbox.hh screen.hh client.hh python.hh frame.hh
        touch $@
 
-openbox_wrap.cc: openbox.i
-       swig -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<
+%.py: %_wrap.cc
+
+%_wrap.cc: %.i
+       swig -c -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<
 
 # local dependencies
This page took 0.021951 seconds and 4 git commands to generate.