summaryrefslogtreecommitdiff
path: root/Makefile
blob: 13ef9560c11c514cd0a1645f0e71ff7e910133d8 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
SUBDIRS =
DESTDIR = 
UBINDIR ?= /usr/bin
DESKTOPDIR ?= /usr/share/applications
PIXMAPDIR ?= /usr/share/pixmaps
SISYPHUSLIBDIR ?= /usr/lib/sisyphus
SISYPHUSDATADIR ?= /usr/share/sisyphus
POLKITDIR ?= /usr/share/polkit-1/actions

all:
	for d in $(SUBDIRS); do $(MAKE) -C $$d; done

clean:
	for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done

install:
	for d in $(SUBDIRS); do $(MAKE) -C $$d install; done

	install -d $(DESTDIR)$(UBINDIR)
	install -m 0755 sisyphus $(DESTDIR)$(UBINDIR)/
	install -m 0755 sisyphus-pkexec $(DESTDIR)$(UBINDIR)/
	install -d $(DESTDIR)$(SISYPHUSLIBDIR)
	install -m 0755 libsisyphus.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -m 0755 ui/accesoriesui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -m 0755 ui/gamesui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -m 0755 ui/graphicsui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -m 0755 ui/internetui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -m 0755 ui/multimediaui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -m 0755 ui/officeui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -m 0755 ui/systemui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
	install -d $(DESTDIR)$(SISYPHUSDATADIR)
	install -m 0755 icon/accesories.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/games.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/graphics.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/install.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/internet.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/multimedia.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/office.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/purge.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/remove.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/search.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/system.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -m 0755 icon/upgrade.svg $(DESTDIR)$(SISYPHUSDATADIR)/
	install -d $(DESTDIR)$(DESKTOPDIR)
	install -m 0755 desktop/sisyphus.desktop $(DESTDIR)$(DESKTOPDIR)/
	install -d $(DESTDIR)$(PIXMAPDIR)
	install -m 0644 desktop/sisyphus.png $(DESTDIR)$(PIXMAPDIR)
	install -d $(DESTDIR)$(POLKITDIR)
	install -m 0644 org.redcorelinux.sisyphus.policy $(DESTDIR)$(POLKITDIR)/