Группа :: Разработка/Прочее
Пакет: nish-functions
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
nish-functions-1.02/ 0000755 0000000 0000000 00000000000 12037515115 0014401 5 ustar 00root root 0000000 0000000 nish-functions-1.02/Makefile 0000644 0000000 0000000 00000001330 12037515115 0016036 0 ustar 00root root 0000000 0000000 DESTDIR=
PREFIX=$(DESTDIR)/usr
LIBEXEC=libexec
LIBEXECDIR=$(PREFIX)/$(LIBEXEC)/nish
BINDIR=$(PREFIX)/bin
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 functions.* "$(LIBEXECDIR)"/
rm -f "$(LIBEXECDIR)"/functions.locate*
install -m755 functions.locate.new "$(BINDIR)"/functions.locate
suck:
cd ~ && git pull
rm functions*
cp ~/bin/functions* ./
spit:
install functions* ~/bin/