]> Dogcows Code - chaz/openbox/commitdiff
dont rebuild them every time. simpler dependencies
authorDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 22:04:47 +0000 (22:04 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 22:04:47 +0000 (22:04 +0000)
Makefile.am

index 0add3f626e12152d8592e29d8967267eb03d6df1..8ce88f33e5326022f57347d961f4b11ffe40e18e 100644 (file)
@@ -367,41 +367,41 @@ edit = $(SED) \
        -e 's!@configdir\@!$(configdir)!' \
        -e 's!@bindir\@!$(bindir)!'
 
-data/xsession/openbox-gnome-session: Makefile \
+data/xsession/openbox-gnome-session: \
                $(srcdir)/data/xsession/openbox-gnome-session.in
        @echo make: creating $@
        @mkdir data 2>/dev/null || true
        @mkdir data/xsession 2>/dev/null || true
-       @$(edit) $(srcdir)/data/xsession/openbox-gnome-session.in >$@
+       @$(edit) $< >$@
        @chmod a+x $@
 
-data/xsession/openbox-kde-session: Makefile \
+data/xsession/openbox-kde-session: \
                $(srcdir)/data/xsession/openbox-kde-session.in
        @echo make: creating $@
        @mkdir data 2>/dev/null || true
        @mkdir data/xsession 2>/dev/null || true
-       @$(edit) $(srcdir)/data/xsession/openbox-kde-session.in >$@
+       @$(edit) $< >$@
        @chmod a+x $@
 
-doc/openbox.1.in: Makefile $(srcdir)/doc/openbox.1.sgml
+doc/openbox.1.in: $(srcdir)/doc/openbox.1.sgml
        @echo make: creating $@
        @mkdir doc 2>/dev/null || true
-       @docbook-to-man $(srcdir)/doc/openbox.1.sgml > $@
+       @docbook-to-man $< > $@
 
-doc/openbox.1: Makefile doc/openbox.1.in
+doc/openbox.1: doc/openbox.1.in
        @echo make: creating $@
        @mkdir doc 2>/dev/null || true
-       @$(edit) $(srcdir)/doc/openbox.1.in >$@
+       @$(edit) $< >$@
 
-doc/openbox-gnome-session.1: Makefile doc/openbox-gnome-session.1.sgml
+doc/openbox-gnome-session.1: $(srcdir)/doc/openbox-gnome-session.1.sgml
        @echo make: creating $@
        @mkdir doc 2>/dev/null || true
-       @docbook-to-man $(srcdir)/doc/openbox-gnome-session.1.sgml > $@
+       @docbook-to-man $< > $@
 
-doc/openbox-kde-session.1: Makefile doc/openbox-kde-session.1.sgml
+doc/openbox-kde-session.1: $(srcdir)/doc/openbox-kde-session.1.sgml
        @echo make: creating $@
        @mkdir doc 2>/dev/null || true
-       @docbook-to-man $(srcdir)/doc/openbox-kde-session.1.sgml > $@
+       @docbook-to-man $< > $@
 
 dist_gnomewmfiles_DATA = \
        data/gnome-wm-properties/openbox.desktop
This page took 0.025844 seconds and 4 git commands to generate.