Группа :: Разработка/Прочее
Пакет: nish-functions
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
nish-functions-0.5/ 0000755 0000000 0000000 00000000000 11122431736 0014323 5 ustar 00root root 0000000 0000000 nish-functions-0.5/Makefile 0000644 0000000 0000000 00000001146 11122431736 0015765 0 ustar 00root root 0000000 0000000 DESTDIR=
PREFIX=$(DESTDIR)/usr
LIBEXEC=libexec
LIBEXECDIR=$(PREFIX)/$(LIBEXEC)/nish
BINDIR=$(PREFIX)/bin
LIBS=functions
JUNK= o oo ooo o.* *~
GENERATED=functions.locate.new
all: functions.locate.new README.new
clean:
rm -rf $(JUNK) $(GENERATED)
README.new: README
sed 's@LIBEXEC@$(LIBEXECDIR)@g' $< > $@
functions.locate.new: functions.locate
sed 's@^__LIBEXEC=.*@__LIBEXEC="\$(LIBEXECDIR)"@g' $< > $@
install: all
mkdir -p "$(LIBEXECDIR)" "$(BINDIR)"
install -m755 functions.locate.new "$(BINDIR)"/functions.locate
install -m755 $(LIBS) "$(LIBEXECDIR)"
suck:
cd ~ && git pull
cp ~/bin/functions* ./