Introduce clean2 target.
[paraslash.git] / Makefile.in
index b156d1a..d71c0c9 100644 (file)
@@ -202,19 +202,22 @@ para_afh: $(afh_objs)
        $(CC) $(LDFLAGS) -o $@ $(afh_objs) @afh_ldflags@
 
 clean:
-       rm -f $(BINARIES)
-       rm -f *_command_list.*
+       rm -f $(BINARIES) $(object_dir)/*.o
+
+clean2: clean
        rm -rf man $(object_dir)
-distclean: clean
+       rm -f *_command_list.*
+
+distclean: clean2
        rm -f Makefile autoscan.log config.status config.log && \
-       rm -rf cmdline autom4te.cache aclocal.m4
+       rm -rf autom4te.cache aclocal.m4
        rm -f GPATH GRTAGS GSYMS GTAGS
 
 maintainer-clean: distclean
        rm -f $(ggo_generated) *.tar.bz2 \
                config.h configure \
                config.h.in skencil/*.pdf skencil/*.ps
-       rm -rf web_sync
+       rm -rf web_sync $(cmdline_dir)
 
 install: all man
        mkdir -p $(BINDIR) $(MANDIR)