INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL = @INSTALL@
-SUBDIRS = freebsd redhat solaris unknown openbsd irix gentoo darwin aix
+SUBDIRS = freebsd redhat solaris unknown openbsd irix gentoo \
+ debian darwin aix bsdi mandrake slackware alpha ubuntu
MAKE = make
done
-install: install-autostart-dir install-autostart-fd install-autostart-sd
+install: install-autostart
+
+install-autostart:
+ @if test x$(DISTNAME) != x ; then \
+ (cd $(DISTNAME); \
+ $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
+ fi
install-autostart-dir:
@if test x$(DISTNAME) != x ; then \
$(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
fi
-uninstall: uninstall-autostart-dir uninstall-autostart-fd uninstall-autrun-sd
+uninstall: uninstall-autostart
+
+uninstall-autostart:
+ @if test x$(DISTNAME) != x ; then \
+ (cd $(DISTNAME); \
+ $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
+ fi
uninstall-autostart-dir:
@if test x$(DISTNAME) != x ; then \
distclean:
@rm -f Makefile
- @rm -rf CVS
@for subdir in ${SUBDIRS}; do \
if [ -f $${subdir}/Makefile ]; then \
(cd $${subdir}; $(MAKE) distclean) \
fi; \
- (cd $${subdir}; rm -rf CVS) \
+ done
+
+devclean:
+ @rm -f Makefile
+ @for subdir in ${SUBDIRS}; do \
+ if [ -f $${subdir}/Makefile ]; then \
+ (cd $${subdir}; $(MAKE) devclean) \
+ fi; \
done