mirror of https://github.com/fspc/dswim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
542 B
25 lines
542 B
|
|
all: install
|
|
|
|
install:
|
|
install -d $(DESTDIR)/var/lib/dpkg
|
|
install -d $(DESTDIR)/bin
|
|
cp -a swim $(DESTDIR)/bin/swim
|
|
install -d $(DESTDIR)/lib/perl5/SWIM
|
|
cp -f Conf.pm $(DESTDIR)/lib/perl5/SWIM/Conf.pm
|
|
cp -fa lib/* $(DESTDIR)/lib/perl5/SWIM
|
|
install -d $(DESTDIR)/lib/SWIM
|
|
cp -fa bin/* $(DESTDIR)/lib/SWIM
|
|
install -d $(DESTDIR)/etc/swim
|
|
cp -f swimz.list $(DESTDIR)/etc/swim
|
|
cp -f swimrc $(DESTDIR)/etc/swim
|
|
|
|
remove:
|
|
rm /usr/lib/perl5/SWIM/*
|
|
rmdir /usr/lib/perl5/SWIM
|
|
rm /usr/bin/swim
|
|
rm /usr/lib/SWIM/*
|
|
rmdir /usr/lib/SWIM
|
|
|
|
|
|
|
|
|