Makefile (dmenu_cmd)
This commit is contained in:
parent
b7ffb08e0f
commit
cca4739bbe
6
Makefile
6
Makefile
|
@ -34,7 +34,7 @@ clean:
|
||||||
dist: clean
|
dist: clean
|
||||||
mkdir -p dmenu-$(VERSION)
|
mkdir -p dmenu-$(VERSION)
|
||||||
cp LICENSE Makefile README arg.h config.def.h config.mk dmenu.1\
|
cp LICENSE Makefile README arg.h config.def.h config.mk dmenu.1\
|
||||||
drw.h util.h dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes stest.1 $(SRC)\
|
drw.h util.h dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes dmenu_cmd stest.1 $(SRC)\
|
||||||
dmenu-$(VERSION)
|
dmenu-$(VERSION)
|
||||||
tar -cf dmenu-$(VERSION).tar dmenu-$(VERSION)
|
tar -cf dmenu-$(VERSION).tar dmenu-$(VERSION)
|
||||||
gzip dmenu-$(VERSION).tar
|
gzip dmenu-$(VERSION).tar
|
||||||
|
@ -44,13 +44,14 @@ install: all
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
mkdir -p /usr/share/fonts/truetype/ubuntumono/
|
mkdir -p /usr/share/fonts/truetype/ubuntumono/
|
||||||
tar Jxvf fonts/ubuntumono-nerd-fonts.tar.xz -C /usr/share/fonts/truetype/ubuntumono/
|
tar Jxvf fonts/ubuntumono-nerd-fonts.tar.xz -C /usr/share/fonts/truetype/ubuntumono/
|
||||||
cp -f dmenu dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes stest $(DESTDIR)$(PREFIX)/bin
|
cp -f dmenu dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes dmenu_cmd stest $(DESTDIR)$(PREFIX)/bin
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_drun
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_drun
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_run
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_run
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_wrun
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_wrun
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_fbrun
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_fbrun
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_themes
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_themes
|
||||||
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_cmd
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/stest
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/stest
|
||||||
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||||
sed "s/VERSION/$(VERSION)/g" < dmenu.1 > $(DESTDIR)$(MANPREFIX)/man1/dmenu.1
|
sed "s/VERSION/$(VERSION)/g" < dmenu.1 > $(DESTDIR)$(MANPREFIX)/man1/dmenu.1
|
||||||
|
@ -65,6 +66,7 @@ uninstall:
|
||||||
$(DESTDIR)$(PREFIX)/bin/dmenu_wrun\
|
$(DESTDIR)$(PREFIX)/bin/dmenu_wrun\
|
||||||
$(DESTDIR)$(PREFIX)/bin/dmenu_fbrun\
|
$(DESTDIR)$(PREFIX)/bin/dmenu_fbrun\
|
||||||
$(DESTDIR)$(PREFIX)/bin/dmenu_themes\
|
$(DESTDIR)$(PREFIX)/bin/dmenu_themes\
|
||||||
|
$(DESTDIR)$(PREFIX)/bin/dmenu_cmd\
|
||||||
$(DESTDIR)$(PREFIX)/bin/stest\
|
$(DESTDIR)$(PREFIX)/bin/stest\
|
||||||
$(DESTDIR)$(MANPREFIX)/man1/dmenu.1\
|
$(DESTDIR)$(MANPREFIX)/man1/dmenu.1\
|
||||||
$(DESTDIR)$(MANPREFIX)/man1/stest.1
|
$(DESTDIR)$(MANPREFIX)/man1/stest.1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user