File: rules

package info (click to toggle)
ebview 0.3.6.2-1.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,876 kB
  • ctags: 3,305
  • sloc: ansic: 35,588; sh: 10,714; xml: 1,771; makefile: 608; yacc: 291
file content (22 lines) | stat: -rwxr-xr-x 766 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

# Add here any variable or target overrides you need.

DEB_CONFIGURE_EXTRA_FLAGS := --sysconfdir=/etc
DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/ebview/usr

build/ebview::
	$(CC) $(CFLAGS) -o $(CURDIR)/src/ebview-client $(CURDIR)/src/ebview-client.c

install/ebview::
	install -m 755 $(CURDIR)/src/ebview-client $(CURDIR)/debian/ebview/usr/bin	
	install -m 644 $(CURDIR)/pixmaps/ebview-32x32.xpm $(CURDIR)/debian/ebview/usr/share/pixmaps/ebview.xpm
	install -m 644 $(CURDIR)/debian/ebview.desktop $(CURDIR)/debian/ebview/usr/share/applications

clean::
	rm -f $(CURDIR)/src/ebview-client