# Makefile for XaoS # # Always use src as the top-level prefix= exec_prefix= ${prefix} datadir= ${prefix}/share bindir= ${exec_prefix}/bin mandir= ${prefix}/man infodir= ${prefix}/info default clean realclean echo help depend xaos: @cd src ; $(MAKE) $@ all: @cd src ; $(MAKE) all distclean: #@$(MAKE) -C src $@ @$(MAKE) -C src distclean rm -f libtool config.cache config.status config.log src/include/config.h src/include/aconfig.h rm -f src/Makefile.common src/arch/linux/Makefile.main rm -f `find . -name Makefile` rm -f `find . -name '*~'` rm -f `find . -name '*.d'` rm -f `find . -name '*[\.]orig'` rm -vf `find . -size 0` install: /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(datadir)/XaoS /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(datadir)/XaoS/tutorial /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(datadir)/XaoS/examples /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(datadir)/XaoS/catalogs /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(datadir)/XaoS/doc /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(datadir)/XaoS/help /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(bindir) /usr/bin/install -c -o root -g wheel -d $(DESTDIR)$(mandir)/man6 /usr/bin/install -c -o root -g wheel -s bin/xaos $(DESTDIR)$(bindir) /usr/bin/install -c -o root -g wheel -m 444 tutorial/*.x[ah]f $(DESTDIR)$(datadir)/XaoS/tutorial /usr/bin/install -c -o root -g wheel -m 444 examples/README $(DESTDIR)$(datadir)/XaoS/examples /usr/bin/install -c -o root -g wheel -m 444 examples/Hubicka/*.x[ap]f $(DESTDIR)$(datadir)/XaoS/examples /usr/bin/install -c -o root -g wheel -m 444 examples/0rfelyus/*.x[ap]f $(DESTDIR)$(datadir)/XaoS/examples /usr/bin/install -c -o root -g wheel -m 444 examples/ZKovacs/*.x[ap]f $(DESTDIR)$(datadir)/XaoS/examples /usr/bin/install -c -o root -g wheel -m 444 examples/ZsKovacs/*.x[ap]f $(DESTDIR)$(datadir)/XaoS/examples /usr/bin/install -c -o root -g wheel -m 444 catalogs/*.cat catalogs/README $(DESTDIR)$(datadir)/XaoS/catalogs /usr/bin/install -c -o root -g wheel -m 444 help/xaos.hlp $(DESTDIR)$(datadir)/XaoS/help /usr/bin/install -c -o root -g wheel -m 444 doc/README doc/README.bugs doc/compilers.txt doc/AUTHORS doc/PROBLEMS $(DESTDIR)$(datadir)/XaoS/doc /usr/bin/install -c -o root -g wheel -m 444 doc/xaos.6 $(DESTDIR)$(mandir)/man6 - test -z "$(infodir)" || /usr/bin/install -c -o root -g wheel -d "$(DESTDIR)$(infodir)" /usr/bin/install -c -o root -g wheel -m 444 doc/xaos.info $(DESTDIR)$(infodir)/xaos.info @if (install-info --version) >/dev/null 2>&1; then \ echo " install-info --info-dir='$(DESTDIR)$(infodir)' \ '$(DESTDIR)$(infodir)/xaos.info'"; \ install-info --info-dir="$(DESTDIR)$(infodir)" \ "$(DESTDIR)$(infodir)/xaos.info"; \ else : ; fi if [ "yes" = "yes" ]; then $(MAKE) -C src/i18n/ install; fi