File: Makefile

package info (click to toggle)
ndisgtk 0.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, squeeze, stretch, wheezy
  • size: 372 kB
  • ctags: 34
  • sloc: python: 215; makefile: 87
file content (30 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
BIN = $(DESTDIR)/usr/sbin
SUPPORT = $(DESTDIR)/usr/share/ndisgtk
ICONS = $(DESTDIR)/usr/share/icons/hicolor/48x48/apps
PIXMAPS = $(DESTDIR)/usr/share/pixmaps
MENU = $(DESTDIR)/usr/share/applications
LOCALEDIR = $(DESTDIR)/usr/share/locale
INPUT_FILES = $(wildcard *.in)


all: $(INPUT_FILES:.in=)
	$(MAKE) -C po

install: all
	install -d $(BIN) $(SUPPORT) $(MENU) $(ICONS) $(PIXMAPS)
	install ./ndisgtk $(BIN)
	install -m644 ndisgtk.png $(ICONS)
	install -m644 ndisgtk-error.png $(ICONS)
	install -m644 ndisgtk.xpm $(PIXMAPS)
	install -m644 ndisgtk.glade $(SUPPORT)
	install -m644 ndisgtk.desktop $(MENU)
	install -m644 ndisgtk-kde.desktop $(MENU)
	$(MAKE) -C po install LOCALEDIR=$(LOCALEDIR)

clean:
	$(MAKE) -C po clean
	rm -f $(INPUT_FILES:.in=)

.SUFFIXES: .in
.in:
	intltool-merge -d po $< $@