Makefile 615 B

123456789101112131415161718192021
  1. all: install
  2. install:
  3. mkdir -p $(DESTDIR)/usr/share/lider-server
  4. @cp -rf lider-server/* $(DESTDIR)/usr/share/lider-server
  5. mkdir -p $(DESTDIR)/usr/share/lider-server/records
  6. @cp -rf records/* $(DESTDIR)/usr/share/lider-server/records/
  7. mkdir -p $(DESTDIR)/usr/share/lider-server/etc
  8. @cp tr.org.liderahenk.example.registration.cfg $(DESTDIR)/usr/share/lider-server/etc/
  9. mkdir -p $(DESTDIR)/usr/bin
  10. @cp lider-client $(DESTDIR)/usr/bin/
  11. @cp lider-sunucu $(DESTDIR)/usr/bin/
  12. uninstall:
  13. @rm -rf /usr/share/lider-server
  14. @rm -rf /usr/bin/lider-client
  15. @rm -rf /usr/bin/lider-sunucu
  16. .PHONY: install uninstall