File: wrong_place_for_fromshell_i

package info (click to toggle)
yorick-hdf5 0.8.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 464 kB
  • ctags: 326
  • sloc: ansic: 1,918; makefile: 207; sh: 2
file content (23 lines) | stat: -rw-r--r-- 763 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# TP 20091118
# The two *_fromshell.i files should end up in Y_SIT/i/, not in i0/.

--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,8 @@
 # ------------------------------------------------ macros for this package
 
 PKG_NAME=hdf5
-PKG_I=hdf5.i h5scan_fromshell.i h5convert_fromshell.i
+PKG_I=hdf5.i
+PKG_I_EXTRA=h5scan_fromshell.i h5convert_fromshell.i
 
 OBJS=hdf5.o
 
@@ -97,6 +98,7 @@
 	mkdir -p binaries/$(PKG_NAME)/dist/y_site/i0
 	mkdir -p binaries/$(PKG_NAME)/dist/y_home/bin
 	cp -p $(PKG_I) binaries/$(PKG_NAME)/dist/y_site/i0/
+	cp -p $(PKG_I_EXTRA) binaries/$(PKG_NAME)/dist/y_site/i/
 	cp -p $(PKG_NAME).so binaries/$(PKG_NAME)/dist/y_home/lib/
 	cp -p h5info binaries/$(PKG_NAME)/dist/y_home/bin/.
 	cp -p h5convert binaries/$(PKG_NAME)/dist/y_home/bin/.