summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt2008-02-19 03:46:39 +0000
committergdt2008-02-19 03:46:39 +0000
commit8cfa8db43a62854a981070f0a6c67446cd995fc0 (patch)
treee47d3c0166c8095530e9d4df2c71dc9e28cd7c2b
parent3a4437ae8b58dbd5ebfb193611da2d27e66d50c5 (diff)
downloadgnuradio-8cfa8db43a62854a981070f0a6c67446cd995fc0.tar.gz
gnuradio-8cfa8db43a62854a981070f0a6c67446cd995fc0.tar.bz2
gnuradio-8cfa8db43a62854a981070f0a6c67446cd995fc0.zip
Use directory declarations rather than hand-written install rules, in
order to avoid the use of "install -D", which creates missing directories on Linux and does something metalog-related on NetBSD. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7740 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--gr-gpio/src/fpga/top/Makefile.am25
1 files changed, 8 insertions, 17 deletions
diff --git a/gr-gpio/src/fpga/top/Makefile.am b/gr-gpio/src/fpga/top/Makefile.am
index 0aba0141b..7362ea2c8 100644
--- a/gr-gpio/src/fpga/top/Makefile.am
+++ b/gr-gpio/src/fpga/top/Makefile.am
@@ -23,6 +23,14 @@ include $(top_srcdir)/Makefile.common
datadir = $(prefix)/share/usrp
+datarev2dir = $(datadir)/rev2
+
+datarev4dir = $(datadir)/rev4
+
+datarev2_DATA = usrp_gpio.rbf
+
+datarev4_DATA = usrp_gpio.rbf
+
RBFS = usrp_gpio.rbf
EXTRA_DIST = \
@@ -35,23 +43,6 @@ EXTRA_DIST = \
usrp_gpio.v \
$(RBFS)
-install-data-local:
- @for file in $(RBFS); do \
- echo "$(INSTALL_DATA) -D $(srcdir)/$$file $(DESTDIR)$(datadir)/rev2/$$file"; \
- $(INSTALL_DATA) -D $(srcdir)/$$file $(DESTDIR)$(datadir)/rev2/$$file; \
- echo "$(INSTALL_DATA) -D $(srcdir)/$$file $(DESTDIR)$(datadir)/rev4/$$file"; \
- $(INSTALL_DATA) -D $(srcdir)/$$file $(DESTDIR)$(datadir)/rev4/$$file; \
- done
-
-uninstall-local:
- @for file in $(RBFS); do \
- echo "$(RM) $(DESTDIR)$(datadir)/rev2/$$file"; \
- $(RM) $(DESTDIR)$(datadir)/rev2/$$file; \
- echo "$(RM) $(DESTDIR)$(datadir)/rev4/$$file"; \
- $(RM) $(DESTDIR)$(datadir)/rev4/$$file; \
- done
-
-
MOSTLYCLEANFILES = \
db/* \
*.rpt \