Группа :: Разработка/Прочее
Пакет: nish-functions
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
nish-functions-0.5.1/ 0000755 0000000 0000000 00000000000 11167712142 0014464 5 ustar 00root root 0000000 0000000 nish-functions-0.5.1/Makefile 0000644 0000000 0000000 00000001277 11167712142 0016133 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
clean:
rm -rf $(JUNK) $(GENERATED)
README: README.in
sed 's@LIBEXEC@$(LIBEXECDIR)@g' $< > $@
echo | sh ./functions >> $@
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* ./
spit:
install functions ~/bin/
install functions.locate ~/bin