X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/1a16acdc7bbf0f471ee002a364ecfa980f191379..008329b110ad2862d9f1d6548b90eaf20a11fb6b:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 1019876..0979241 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,13 @@ CONFS = $(wildcard doc/examples/*.ini) MAKEFILES = $(wildcard doc/examples/Makefile*) DAEMONS = src/sc_fetch src/sc_test src/sc_deliver COMMANDS = src/sc_codegen src/sc_dbq +CGI = src/sc_suwi PHPLIBS = $(wildcard src/T/*.php) PHPDBO = $(wildcard src/T/DBO/*.php) PHPSCHEMA = $(wildcard src/T/DBO/schema/*.ini) DOCS = doc/README $(wildcard doc/schema.*) EXAMPLES = $(wildcard doc/examples/*) +UTIL = $(wildcard util/*.py) .PHONY: all install clean @@ -22,8 +24,10 @@ install: # Directorios $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/sbin $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin + $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/lib/cgi-bin $(INSTALL) -d -m 0755 $(DESTDIR)/etc/sercom $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/doc/sercom/examples + $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/sercom/util $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/php/T/DBO/schema $(INSTALL) -d -m 2775 $(DESTDIR)$/var/lib/sercom/ejercicios $(INSTALL) -d -m 2775 $(DESTDIR)$/var/lib/sercom/intentos @@ -32,11 +36,13 @@ install: $(INSTALL) -m 0664 $(MAKEFILES) $(DESTDIR)/var/lib/sercom $(INSTALL) -m 0755 $(DAEMONS) $(DESTDIR)$(PREFIX)/sbin $(INSTALL) -m 0755 $(COMMANDS) $(DESTDIR)$(PREFIX)/bin + $(INSTALL) -m 0755 $(CGI) $(DESTDIR)$(PREFIX)/lib/cgi-bin $(INSTALL) -m 0644 $(PHPLIBS) $(DESTDIR)$(PREFIX)/share/php/T $(INSTALL) -m 0644 $(PHPDBO) $(DESTDIR)$(PREFIX)/share/php/T/DBO $(INSTALL) -m 0644 $(PHPSCHEMA) $(DESTDIR)$(PREFIX)/share/php/T/DBO/schema $(INSTALL) -m 0644 $(DOCS) $(DESTDIR)$(PREFIX)/share/doc/sercom $(INSTALL) -m 0644 $(EXAMPLES) $(DESTDIR)$(PREFIX)/share/doc/sercom/examples + $(INSTALL) -m 0755 $(UTIL) $(DESTDIR)$(PREFIX)/share/sercom/util # Bibliotecas en Python ./setup.py install --optimize 2 --root=$(DESTDIR) --prefix=$(PREFIX)