Lines 108-124
Link Here
|
108 |
# specfile for the dieharder package, in precisely the right locations. |
108 |
# specfile for the dieharder package, in precisely the right locations. |
109 |
#======================================================================== |
109 |
#======================================================================== |
110 |
install: $(PROGLIB_SO_VERSION) $(PROGLIB_A) $(PROGMAN) |
110 |
install: $(PROGLIB_SO_VERSION) $(PROGLIB_A) $(PROGMAN) |
111 |
(install -d $(libdir); \ |
111 |
(install -d $(DESTDIR)$(libdir); \ |
112 |
install -m 755 $(PROGLIB_SO_VERSION) $(libdir)/$(PROGLIB_SO_VERSION); \ |
112 |
install -m 755 $(PROGLIB_SO_VERSION) $(DESTDIR)$(libdir)/$(PROGLIB_SO_VERSION); \ |
113 |
ln -sf $(libdir)/$(PROGLIB_SO_VERSION) $(libdir)/$(PROGLIB_SO); \ |
113 |
ln -sf $(libdir)/$(PROGLIB_SO_VERSION) $(DESTDIR)$(libdir)/$(PROGLIB_SO); \ |
114 |
install -d $(includedir)/dieharder; \ |
114 |
install -d $(DESTDIR)$(includedir)/dieharder; \ |
115 |
install -m 644 ../include/dieharder/*.h $(includedir)/dieharder; \ |
115 |
install -m 644 ../include/dieharder/*.h $(DESTDIR)$(includedir)/dieharder; \ |
116 |
install -d $(prefix)/share/man/man3; \ |
116 |
install -d $(DESTDIR)$(prefix)/share/man/man3; \ |
117 |
gzip -c -9 $(PROGMAN) > $(PROGMAN).gz; \ |
117 |
gzip -c -9 $(PROGMAN) > $(PROGMAN).gz; \ |
118 |
install -m 644 $(DIR).3.gz $(prefix)/share/man/man3) |
118 |
install -m 644 $(DIR).3.gz $(DESTDIR)$(prefix)/share/man/man3) |
119 |
|
119 |
|
120 |
# FC requires no static lib install |
120 |
# FC requires no static lib install |
121 |
# install -m 755 $(PROGLIB_A) $(libdir)/$(PROGLIB_A); \ |
121 |
# install -m 755 $(PROGLIB_A) $(DESTDIR)$(libdir)/$(PROGLIB_A); \ |
122 |
# ldconfig -n $(libdir); \ |
122 |
# ldconfig -n $(libdir); \ |
123 |
#======================================================================== |
123 |
#======================================================================== |
124 |
# We give all generic rules below. Currently we only need a rule for |
124 |
# We give all generic rules below. Currently we only need a rule for |