mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-07 17:17:55 +03:00
d2234a4daa
* Some fixes to make actor work correctly an least on Ubuntu 12.x
24 lines
550 B
Makefile
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)
|