File: rules

package info (click to toggle)
melting 4.3c-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,708 kB
  • sloc: ansic: 2,013; perl: 546; xml: 125; makefile: 12
file content (21 lines) | stat: -rwxr-xr-x 664 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-
# Build rules for melting. you can use this file without restriction.

# This has to be exported to make some magic below work.
export DH_OPTIONS

%:
	dh $@

override_dh_auto_build:
	$(MAKE) -f makefile.unices NNDIR=/usr/share/melting/NNFILES 

override_dh_clean:
	dh_clean melting.o decode.o calcul.o melting

override_dh_install:
	dh_install
	install -D BIN/tkmelting.pl $(CURDIR)/debian/melting-gui/usr/bin/tkmelting
	install -m 644 -D BIN/melting.hlp  $(CURDIR)/debian/melting-gui/usr/share/melting/melting.hlp
	install -m 644 -D melting-gui.desktop	$(CURDIR)/debian/melting-gui/usr/share/applications/melting-gui.desktop