File: Makefile

package info (click to toggle)
hamexam 1.6.0-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 7,116 kB
  • sloc: sh: 119; awk: 37; makefile: 20
file content (22 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
build:	
	echo "null build"

clean:	
	echo "null clean"

dist:	
	rm -f hamexam.orig.tar.gz
	tar zcvf hamexam.orig.tar.gz --exclude debian *

install:	
	mkdir -p $(DESTDIR)/usr/share
	cp -r share $(DESTDIR)/usr/share/hamexam
	mkdir -p $(DESTDIR)/usr/bin
	ln -s ../share/hamexam/hamexam $(DESTDIR)/usr/bin/hamexam
	mkdir -p $(DESTDIR)/usr/share/man/man1
	gzip -c hamexam.1 > $(DESTDIR)/usr/share/man/man1/hamexam.1.gz
	mkdir -p $(DESTDIR)/usr/share/applications
	cp hamexam.desktop $(DESTDIR)/usr/share/applications/hamexam.desktop
	mkdir -p $(DESTDIR)/usr/share/pixmaps
	cp hamexam.png $(DESTDIR)/usr/share/pixmaps/hamexam.png