File: rules

package info (click to toggle)
octave-matgeom 1.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,584 kB
  • sloc: objc: 469; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --buildsystem=octave

SHRDIR = debian/octave-matgeom/usr/share

execute_after_dh_installdeb:
	for i in geom2d geom3d meshes3d polygons2d ; do					\
            for j in readme.txt README.md ; do						\
                f=$(SHRDIR)/octave/packages/matgeom-*/$$i/$$j ;				\
                [ -f $$f ] && mv $$f $(SHRDIR)/doc/octave-matgeom/$$i-$$j || true ;	\
            done ;									\
	done