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.
44 lines
1.4 KiB
44 lines
1.4 KiB
|
|
all:install
|
|
|
|
install:
|
|
install -d $(DESTDIR)/share/man/man8
|
|
cp -f swim.8 $(DESTDIR)/share/man/man8
|
|
install -d $(DESTDIR)/share/man/man5
|
|
cp -f swimrc.5 $(DESTDIR)/share/man/man5
|
|
install -d $(DESTDIR)/share/doc/swim
|
|
install -d $(DESTDIR)/usr/share/doc/swim/swim.html
|
|
cp -fa swim.html/* $(DESTDIR)/usr/share/doc/swim/swim.html
|
|
install -d $(DESTDIR)/usr/share/doc/swim/swimrc.html
|
|
cp -fa swimrc.html/* $(DESTDIR)/usr/share/doc/swim/swimrc.html
|
|
install -d $(DESTDIR)/usr/share/doc/swim/examples
|
|
cp -fa examples/* $(DESTDIR)/usr/share/doc/swim/examples
|
|
cp -a QUICKSTART.text $(DESTDIR)/share/doc/swim
|
|
cp -a REQUIREMENTS.text $(DESTDIR)/share/doc/swim
|
|
cp -a swim_by_example.html $(DESTDIR)/share/doc/swim
|
|
cp -a THEMES $(DESTDIR)/share/doc/swim
|
|
cp -a TODO $(DESTDIR)/share/doc/swim
|
|
cp -a BUGS $(DESTDIR)/share/doc/swim
|
|
cp -a TODO $(DESTDIR)/share/doc/swim
|
|
cp -a COPYING $(DESTDIR)/share/doc/swim
|
|
cp -a contact_and_website $(DESTDIR)/share/doc/swim
|
|
cp -a changelog $(DESTDIR)/share/doc/swim
|
|
cp -a swim.text $(DESTDIR)/share/doc/swim
|
|
cp -a swimrc.text $(DESTDIR)/share/doc/swim
|
|
|
|
remove:
|
|
rm /usr/share/doc/swim/swim.html/*
|
|
rmdir /usr/share/doc/swim/swim.html
|
|
rm /usr/share/doc/swim/swimrc.html/*
|
|
rmdir /usr/share/doc/swim/swimrc.html
|
|
rm /usr/share/doc/swim/examples/*
|
|
rmdir /usr/share/doc/swim/examples
|
|
rm /usr/share/doc/swim/*
|
|
rmdir /usr/share/doc/swim
|
|
rm share/man/man5/swimrc.5
|
|
rm share/man/man8/swim.8
|
|
|
|
|
|
|
|
|
|
|
|
|