summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-09-11 22:41:12 +0000
committerPeter Palfrader <peter@palfrader.org>2005-09-11 22:41:12 +0000
commite8c1eee11e1fcb8bf56f0002e09af790eb53ae63 (patch)
treecc7f01a776bc31d0a0fb33f9254d4e56bc847df0 /web
parent4da35cc1e5e7d9a78d17a2677a32217acdca1931 (diff)
Use find to copy png and html files - there are too many to cp *.png
Diffstat (limited to 'web')
-rw-r--r--web/tor-running-routers/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/tor-running-routers/Makefile.am b/web/tor-running-routers/Makefile.am
index e31396a..fbde9df 100644
--- a/web/tor-running-routers/Makefile.am
+++ b/web/tor-running-routers/Makefile.am
@@ -18,8 +18,10 @@ clean:
install-data-local: result/index.html
[ -d $(docdir) ] || mkdir $(docdir)
- cp -a result/*.png $(docdir)
- cp -a result/*.html $(docdir)
+# cp -a result/*.png $(docdir)
+# cp -a result/*.html $(docdir)
+ find result -name '*.png' -type f | xargs --no-run-if-empty cp --target-directory="$(docdir)"
+ find result -name '*.html' -type f | xargs --no-run-if-empty cp --target-directory="$(docdir)"
cp -a result/.htaccess $(docdir)
uninstall-local: