Skip to content

Commit

Permalink
Updating global distclean.
Browse files Browse the repository at this point in the history
  • Loading branch information
syzdek committed Oct 17, 2012
1 parent ef1f1b5 commit 17c7c1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -11,6 +11,7 @@ Copyright (C) 2011, 2012 Bindle Binaries
- Updating OpenSSL to version 1.0.1c. (syzdek)
- Updating Cyrus-SASL to version 2.1.25. (syzdek)
- Updating OpenLDAP to version 2.4.33. (syzdek)
- Updating global disclean target to distclean all packages. (syzdek)

0.6 2012-05-30
- Updating project files for Xcode 4.3. (syzdek)
Expand Down
25 changes: 7 additions & 18 deletions Makefile
Expand Up @@ -100,29 +100,18 @@ build-aux/iOSPorts-genlist: ports/iOSPorts/other/iOSPorts-genlist.m $(INCLUDES)
build-aux/iOSPorts-pkginfo: $(PKGINFOSOURCES) $(INCLUDES) $(DEPS)
$(CC) $(CFLAGS) -o ${@} $(PKGINFOSOURCES)

clean:
rm -Rf $(PROGS) $(SOURCES) $(DEPS)
rm -Rf include/iOSPorts
rm -Rf ports/iOSPorts/other/iOSPorts-data.c
rm -Rf a.out *.o src/*.o ports/iOSPorts/other/*.o
rm -Rf build/

distcleanall: clean
distclean: clean
for PKG in $(SOURCES);do \
PKGDIR="`dirname $${PKG}`"; \
echo "cleaning $${PKGDIR}..."; \
$(MAKE) -C $${PKGDIR} distclean; \
rm -Rf $${PKGDIR}/build; \
done

distclean: clean
for PKG in $(SOURCES);do \
PKGDIR="`dirname $${PKG}`"; \
echo "cleaning $${PKGDIR}..."; \
$(MAKE) -C $${PKGDIR} clean; \
rm -Rf $${PKGDIR}/build; \
done
@echo ' '
@echo 'To distclean all ports, run "make distcleanall"'
@echo ' '
clean:
rm -Rf $(PROGS) $(SOURCES) $(DEPS)
rm -Rf include/iOSPorts
rm -Rf ports/iOSPorts/other/iOSPorts-data.c
rm -Rf build/
rm -Rf a.out *.o src/*.o ports/iOSPorts/other/*.o

0 comments on commit 17c7c1d

Please sign in to comment.