grim/purple-objects-docbook
Clone
Summary
Browse
Changes
Graph
cleaned up some output and made the targets that depend on specific sheets depend on the specific sheet
2013-05-06, Gary Kramlich
27c3ed94703a
cleaned up some output and made the targets that depend on specific sheets depend on the specific sheet
top_srcdir
:=
..
include $(top_srcdir)/Makefile.opts
SOURCES
:=
$(
shell
ls
*.xml
)
BUILT_SOURCES
:=
todo.xml
.PHONY
:
all
clean
all
:
dir
.
stamp
todo.xml
:
$(
top_srcdir
)
/.
todo
$(
SHEETS_DIR
)
/
devtodo
.
xsl
@echo
" XSLT
$@
"
$(
TRANSFORM
)
$(
TRANSFORM_OPTS
)
-o
$@
$(
SHEETS_DIR
)
/devtodo.xsl
$<
dir.stamp
:
$(
SOURCES
)
$(
BUILT_SOURCES
)
$(
SHEETS_DIR
)
/
purple
-
objects
.
xsl
@echo
" XSLT
$@
"
$(
TRANSFORM
)
$(
TRANSFORM_OPTS
)
-o
$(
OUTPUT
)
/
$@
$(
SHEETS_DIR
)
/purple-objects.xsl
purple-objects.xml
2
>
&
1
@touch
dir.stamp
clean
:
@echo
" RM dir.stamp"
@rm
-f
dir.stamp
@echo
" RM todo.xml"
@rm
-f
todo.xml