summaryrefslogtreecommitdiff
path: root/hw/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-17 09:34:23 -0300
committerGenerated from internal repo <nobody@neo900.org>2016-10-17 09:34:23 -0300
commit4e17220e0d6d57a3ed02429f921cc90918682e16 (patch)
tree6e59aa334e2e600ec005e8e1b2c7038fee005581 /hw/Makefile
parent2fd38bc79a646613493a022a1e0e1e7a55e85736 (diff)
downloadee-4e17220e0d6d57a3ed02429f921cc90918682e16.tar.gz
ee-4e17220e0d6d57a3ed02429f921cc90918682e16.tar.bz2
ee-4e17220e0d6d57a3ed02429f921cc90918682e16.zip
hw/Makefile (view): set default PDF viewer to xpdf
Diffstat (limited to 'hw/Makefile')
-rw-r--r--hw/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/Makefile b/hw/Makefile
index 72fc33e..3a28b90 100644
--- a/hw/Makefile
+++ b/hw/Makefile
@@ -39,7 +39,9 @@ pdf:
#----- Documentation ----------------------------------------------------------
view: docdb.out
- EESHOW_VIEWER=eeshow-viewer eeshow -N 30 -d docdb.out neo900.pro
+ EESHOW_VIEWER=eeshow-viewer \
+ EESHOW_PDF_VIEWER=$${EESHOW_PDF_VIEWER:-xpdf} \
+ eeshow -N 30 -d docdb.out neo900.pro
docdb.out: docdb.in neo900_SS_*.sch
./gendocdb.pl -c $^ >$@ || { rm -f $@; exit 1; }
@@ -62,8 +64,7 @@ upload: upload-pdf upload-tar upload-zip
upload-pdf:
eeplot neo900.pro -o $(PDF_NAME)
neo900 $(PDF_NAME) $(PDF_DIR)
- echo "cd $(PDF_DIR) && ln -sf $(PDF_NAME) neo900.pdf" | \
- neo900
+ echo "cd $(PDF_DIR) && ln -sf $(PDF_NAME) neo900.pdf" | neo900
rm -f $(PDF_NAME)
upload-tar: