1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-07 17:17:55 +03:00
openuds/actors/linux/Makefile
Adolfo Gómez García d2234a4daa * Building debian package and related stuff
* Some fixes to make actor work correctly an least on Ubuntu 12.x
2014-11-17 10:33:06 +01:00

24 lines
550 B
Makefile

SRCDIR = ../src
LIBDIR = $(DESTDIR)/usr/share/pyshared/UDSActor
BINDIR = $(DESTDIR)/usr/bin
CFGDIR = $(DESTDIR)/etc/udsactor
clean:
rm -rf $(DESTDIR)
install:
mkdir -p $(LIBDIR)
mkdir -p $(BINDIR)
mkdir -p $(CFGDIR)
mkdir -p $(LIBDIR)/
cp -r $(SRCDIR)/udsactor $(LIBDIR)/udsactor
rm -rf $(LIBDIR)/*.py[co]
cp $(SRCDIR)/UDSActorConfig.py $(LIBDIR)
cp $(SRCDIR)/UDSActorUser.py $(LIBDIR)
cp $(SRCDIR)/setup_dialog_ui.py $(LIBDIR)
# chmod 0755 $(BINDIR)/udsactor
uninstall:
rm -rf $(LIBDIR)
# rm -f $(BINDIR)/udsactor
rm -rf $(CFGDIR)