forked from Nano77/gdm3setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
32 lines (23 loc) · 899 Bytes
/
makefile
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
all: mo
sed -e 's/%PYTHON%/python2/;s/%GDM_BIN%/\/usr\/sbin\/gdm/' gdm3setup.in > gdm3setup
ubuntu: mo
sed -e 's/%PYTHON%/python/;s/%GDM_BIN%/\/usr\/sbin\/gdm/' gdm3setup.in > gdm3setup
debian: mo
sed -e 's/%PYTHON%/python/;s/%GDM_BIN%/\/usr\/sbin\/gdm3/' gdm3setup.in > gdm3setup
mo:
$(MAKE) -C po
clean:
rm gdm3setup
$(MAKE) -C po clean
install:
install --mode=755 -D gdm3setup $(DESTDIR)/usr/bin/gdm3setup
install -D gdm3setup.desktop $(DESTDIR)/usr/share/applications/gdm3setup.desktop
install -D gdm3setup.ui $(DESTDIR)/usr/share/gdm3setup/ui/gdm3setup.ui
install -D app-menu.ui $(DESTDIR)/usr/share/gdm3setup/ui/app-menu.ui
$(MAKE) -C po install
uninstall:
rm $(DESTDIR)/usr/bin/gdm3setup
rm $(DESTDIR)/usr/share/applications/gdm3setup.desktop
rm $(DESTDIR)/usr/share/gdm3setup/ui/gdm3setup.ui
rm $(DESTDIR)/usr/share/gdm3setup/ui/app-menu.ui
$(MAKE) -C po uninstall