implement target "clean"
This commit is contained in:
parent
970cf9233b
commit
bbc8698ef7
27
Makefile
27
Makefile
@ -10,17 +10,9 @@ all: \
|
||||
res/desktop/$(NAME).desktop \
|
||||
res/polkit/org.freedesktop.policykit.$(NAME).policy
|
||||
|
||||
res/desktop/$(NAME).desktop: \
|
||||
res/desktop/$(NAME).desktop.in
|
||||
sed -e 's|{BINDIR}|$(BINDIR)|' \
|
||||
< res/desktop/$(NAME).desktop.in \
|
||||
> res/desktop/$(NAME).desktop
|
||||
|
||||
res/polkit/org.freedesktop.policykit.$(NAME).policy: \
|
||||
res/polkit/org.freedesktop.policykit.$(NAME).policy.in
|
||||
sed -e 's|{BINDIR}|$(BINDIR)|' \
|
||||
< res/polkit/org.freedesktop.policykit.$(NAME).policy.in \
|
||||
> res/polkit/org.freedesktop.policykit.$(NAME).policy
|
||||
clean:
|
||||
rm -f res/desktop/$(NAME).desktop
|
||||
rm -f res/polkit/org.freedesktop.policykit.$(NAME).policy
|
||||
|
||||
install: \
|
||||
bin/$(NAME) \
|
||||
@ -39,3 +31,16 @@ install: \
|
||||
install -m 644 \
|
||||
res/desktop/$(NAME).desktop \
|
||||
$(DESTDIR)$(APPDIR)/$(NAME).desktop
|
||||
|
||||
res/desktop/$(NAME).desktop: \
|
||||
res/desktop/$(NAME).desktop.in
|
||||
sed -e 's|{BINDIR}|$(BINDIR)|' \
|
||||
< res/desktop/$(NAME).desktop.in \
|
||||
> res/desktop/$(NAME).desktop
|
||||
|
||||
res/polkit/org.freedesktop.policykit.$(NAME).policy: \
|
||||
res/polkit/org.freedesktop.policykit.$(NAME).policy.in
|
||||
sed -e 's|{BINDIR}|$(BINDIR)|' \
|
||||
< res/polkit/org.freedesktop.policykit.$(NAME).policy.in \
|
||||
> res/polkit/org.freedesktop.policykit.$(NAME).policy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user