summaryrefslogtreecommitdiffstats
path: root/postfix_wizard/Makefile
blob: 6edf819f967805f7f907e8a5844905c8f2add5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

install2:
	su -c 'make install'

install:
	mkdir -p --mode=u=rwx,g=rx,o=rx  ${prefix}/share/wizards
	mkdir -p --mode=u=rwx,g=rx,o=rx  ${prefix}/share/wizards/postfix_wizard
	mkdir -p --mode=u=rwx,g=rx,o=rx  ${prefix}/share/wizards/postfix_wizard/scripts
	mkdir -p --mode=u=rwx,g=rx,o=rx  ${prefix}/share/wizards/postfix_wizard/images
	install --mode=u=rw,g=r,o=r -p postfix.wiz ${prefix}/share/wizards/postfix_wizard
	install --mode=u=rwx,g=rx,o=rx -p scripts/Postfixconf.pm ${prefix}/share/wizards/postfix_wizard/scripts
	install --mode=u=rwx,g=rx,o=rx -p scripts/*.sh ${prefix}/share/wizards/postfix_wizard/scripts
	install --mode=u=rwx,g=rx,o=rx -p images/*.jpg ${prefix}/share/wizards/postfix_wizard/images

run:	
	(su -c "make install; unset WIZPATH; export DEBUG_WIZ='/dev/pts/0'; wiz /usr/share/wizards/time_wizard/time.wiz")

desktop:
	cp -f desktop_data/time\ wiz ${HOME}/Desktop
	cp -f desktop_data/util1.gif ${HOME}/.kde/share/icons/