From e8c1eee11e1fcb8bf56f0002e09af790eb53ae63 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 11 Sep 2005 22:41:12 +0000 Subject: Use find to copy png and html files - there are too many to cp *.png --- web/tor-running-routers/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'web') 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: -- cgit v1.2.3