Blob Blame Raw
From: Ole Streicher <olebole@debian.org>
Date: Thu, 1 Dec 2016 21:18:56 +0100
Subject: Don't install non-free files (images and NGC2000.0 catalog)

---
 Makefile          |  3 ---
 catalogs/Makefile | 14 ++++++--------
 2 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index 0bfc3d9..1ba0832 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,6 @@ install-core:
 	mkdir -p '$(MAN1_INSTALL_DIR)'
 	cp __init__.py '$(PY_BASE_INSTALL_DIR)'
 	cp CREDITS LICENSE README.md report.txt '$(DOC_INSTALL_DIR)'
-	cp demo/* '$(EXAMPLE_INSTALL_DIR)'
 	cp man/*.1 '$(MAN1_INSTALL_DIR)'
 	$(MAKE) -C util  install-core
 	$(MAKE) -C catalogs install
@@ -293,8 +292,6 @@ clean:
 	$(MAKE) -C catalogs clean
 	-$(MAKE) -C qfits-an clean
 	-rm __init__.pyc
-	$(MAKE) -C gsl-an clean
-	-rm gsl-an/config.h
 	$(MAKE) -C libkd clean
 	$(MAKE) -C blind clean
 	$(MAKE) -C sdss clean
diff --git a/catalogs/Makefile b/catalogs/Makefile
index c0adb7a..3efe060 100644
--- a/catalogs/Makefile
+++ b/catalogs/Makefile
@@ -22,11 +22,11 @@ $(DATA)/%.dat: ;
 
 ngc2000.o: ngc2000.c ngc2000names.c ngc2000entries.c
 
-ngc2000names.c: parse-ngc2000names.awk $(DATA)/ngc2000names.dat
-	$(AWK) -f parse-ngc2000names.awk < $(DATA)/ngc2000names.dat  > $@
+ngc2000names.c: parse-ngc2000names.awk
+	$(AWK) -f parse-ngc2000names.awk < /dev/null  > $@
 
-ngc2000entries.py: parse-ngc2000-py.awk $(DATA)/ngc2000.dat
-	$(AWK) -f parse-ngc2000-py.awk < $(DATA)/ngc2000.dat  > $@
+ngc2000entries.py: parse-ngc2000-py.awk
+	$(AWK) -f parse-ngc2000-py.awk < /dev/null  > $@
 
 ngc2000accurate.py: parse-ngcic-accurate-py.awk $(DATA)/ngc2000_pos.txt $(DATA)/ic2000_pos.txt
 	cat $(DATA)/ngc2000_pos.txt $(DATA)/ic2000_pos.txt | $(AWK) -f parse-ngcic-accurate-py.awk > $@
@@ -34,8 +34,8 @@ ngc2000accurate.py: parse-ngcic-accurate-py.awk $(DATA)/ngc2000_pos.txt $(DATA)/
 ngc2000.py: ngc2000-pre.py ngc2000entries.py ngc2000-mid.py ngc2000accurate.py ngc2000-post.py
 	cat $^ > $@
 
-ngc2000entries.c: parse-ngc2000.awk $(DATA)/ngc2000.dat
-	$(AWK) -f parse-ngc2000.awk < $(DATA)/ngc2000.dat  > $@
+ngc2000entries.c: parse-ngc2000.awk
+	$(AWK) -f parse-ngc2000.awk < /dev/null  > $@
 
 ngcic-accurate-entries.c: parse-ngcic-accurate.awk $(DATA)/ngc2000_pos.txt $(DATA)/ic2000_pos.txt
 	cat $(DATA)/ngc2000_pos.txt $(DATA)/ic2000_pos.txt | $(AWK) -f parse-ngcic-accurate.awk > $@
@@ -60,8 +60,6 @@ HEADERS := brightstars.h constellations.h ngc2000.h ngcic-accurate.h \
 
 HEADERS_PATH := $(addprefix $(INCLUDE_DIR)/,$(HEADERS))
 
-PYTHON_INSTALL := __init__.py ngc2000.py 
-
 PY_INSTALL_DIR := $(PY_BASE_INSTALL_DIR)/catalogs
 LINK_DIR := $(PY_BASE_LINK_DIR)/catalogs