diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-09-11 22:41:12 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-09-11 22:41:12 +0000 |
commit | e8c1eee11e1fcb8bf56f0002e09af790eb53ae63 (patch) | |
tree | cc7f01a776bc31d0a0fb33f9254d4e56bc847df0 /web/tor-running-routers/Makefile.am | |
parent | 4da35cc1e5e7d9a78d17a2677a32217acdca1931 (diff) |
Use find to copy png and html files - there are too many to cp *.png
Diffstat (limited to 'web/tor-running-routers/Makefile.am')
-rw-r--r-- | web/tor-running-routers/Makefile.am | 6 |
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: |