make the generated files with paths depend on the Makefile, and clean them when you run make clean
This commit is contained in:
parent
7dde22a1b3
commit
9a0af18e4b
5 changed files with 23 additions and 48 deletions
63
Makefile.am
63
Makefile.am
|
@ -375,59 +375,24 @@ edit = $(SED) \
|
||||||
-e 's!@configdir\@!$(configdir)!' \
|
-e 's!@configdir\@!$(configdir)!' \
|
||||||
-e 's!@bindir\@!$(bindir)!'
|
-e 's!@bindir\@!$(bindir)!'
|
||||||
|
|
||||||
data/xsession/openbox-gnome.desktop: \
|
%.desktop: %.desktop.in Makefile
|
||||||
$(srcdir)/data/xsession/openbox-gnome.desktop.in
|
|
||||||
@echo make: creating $@
|
@echo make: creating $@
|
||||||
@mkdir data 2>/dev/null || true
|
# @mkdir data/xsession 2>/dev/null || true
|
||||||
@mkdir data/xsession 2>/dev/null || true
|
@$(edit) $< >$@
|
||||||
@$(edit) $< >$@
|
|
||||||
|
|
||||||
data/xsession/openbox-kde.desktop: \
|
%-session: %-session.in Makefile
|
||||||
$(srcdir)/data/xsession/openbox-kde.desktop.in
|
|
||||||
@echo make: creating $@
|
@echo make: creating $@
|
||||||
@mkdir data 2>/dev/null || true
|
# @mkdir data/xsession 2>/dev/null || true
|
||||||
@mkdir data/xsession 2>/dev/null || true
|
@$(edit) $< >$@
|
||||||
@$(edit) $< >$@
|
|
||||||
|
|
||||||
data/xsession/openbox.desktop: \
|
|
||||||
$(srcdir)/data/xsession/openbox.desktop.in
|
|
||||||
@echo make: creating $@
|
|
||||||
@mkdir data 2>/dev/null || true
|
|
||||||
@mkdir data/xsession 2>/dev/null || true
|
|
||||||
@$(edit) $< >$@
|
|
||||||
|
|
||||||
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) $< >$@
|
|
||||||
@chmod a+x $@
|
|
||||||
|
|
||||||
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) $< >$@
|
|
||||||
@chmod a+x $@
|
|
||||||
|
|
||||||
data/xsession/openbox-session: \
|
|
||||||
$(srcdir)/data/xsession/openbox-session.in
|
|
||||||
@echo make: creating $@
|
|
||||||
@mkdir data 2>/dev/null || true
|
|
||||||
@mkdir data/xsession 2>/dev/null || true
|
|
||||||
@$(edit) $< >$@
|
|
||||||
@chmod a+x $@
|
|
||||||
|
|
||||||
%.1.in: %.1.sgml
|
%.1.in: %.1.sgml
|
||||||
@echo make: creating $@
|
@echo make: creating $@
|
||||||
@mkdir doc 2>/dev/null || true
|
# @mkdir doc 2>/dev/null || true
|
||||||
@docbook-to-man $< >$@
|
@docbook-to-man $< >$@
|
||||||
|
|
||||||
%.1: %.1.in
|
%.1: %.1.in Makefile
|
||||||
@echo make: creating $@
|
@echo make: creating $@
|
||||||
@mkdir doc 2>/dev/null || true
|
# @mkdir doc 2>/dev/null || true
|
||||||
@$(edit) $< >$@
|
@$(edit) $< >$@
|
||||||
|
|
||||||
dist_gnomewmfiles_DATA = \
|
dist_gnomewmfiles_DATA = \
|
||||||
|
@ -507,6 +472,16 @@ EXTRA_DIST = \
|
||||||
config.rpath \
|
config.rpath \
|
||||||
mkinstalldirs
|
mkinstalldirs
|
||||||
|
|
||||||
|
# make clean doesn't delete these for some reason, even though they are
|
||||||
|
# built by make
|
||||||
|
CLEANFILES = \
|
||||||
|
data/xsession/openbox-session \
|
||||||
|
data/xsession/openbox-gnome-session \
|
||||||
|
data/xsession/openbox-kde-session \
|
||||||
|
data/xsession/openbox.desktop \
|
||||||
|
data/xsession/openbox-gnome.desktop \
|
||||||
|
data/xsession/openbox-kde.desktop
|
||||||
|
|
||||||
#doc:
|
#doc:
|
||||||
# $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
|
# $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
|
||||||
|
|
||||||
|
|
|
@ -16,4 +16,4 @@ The program's full documentation is available on the website:
|
||||||
.PP
|
.PP
|
||||||
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
||||||
\fP
|
\fP
|
||||||
.\" created by instant / docbook-to-man, Mon 21 May 2007, 23:11
|
.\" created by instant / docbook-to-man, Tue 22 May 2007, 00:06
|
||||||
|
|
|
@ -16,4 +16,4 @@ The program's full documentation is available on the website:
|
||||||
.PP
|
.PP
|
||||||
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
||||||
\fP
|
\fP
|
||||||
.\" created by instant / docbook-to-man, Mon 21 May 2007, 23:11
|
.\" created by instant / docbook-to-man, Tue 22 May 2007, 00:06
|
||||||
|
|
|
@ -36,4 +36,4 @@ The program's full documentation is available on the website:
|
||||||
.PP
|
.PP
|
||||||
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
||||||
\fP
|
\fP
|
||||||
.\" created by instant / docbook-to-man, Mon 21 May 2007, 23:11
|
.\" created by instant / docbook-to-man, Tue 22 May 2007, 00:06
|
||||||
|
|
|
@ -92,4 +92,4 @@ The program's full documentation is available on the website:
|
||||||
.PP
|
.PP
|
||||||
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
Please report bugs to: \fBhttp://bugzilla.icculus.org/
|
||||||
\fP
|
\fP
|
||||||
.\" created by instant / docbook-to-man, Mon 21 May 2007, 23:10
|
.\" created by instant / docbook-to-man, Tue 22 May 2007, 00:06
|
||||||
|
|
Loading…
Reference in a new issue