diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-02-07 16:19:36 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-02-07 16:19:36 +0100 |
commit | eb5ef91b6b940eb001d8acb95f6413560570c1a7 (patch) | |
tree | 3139547b82fb8b47cb51aa9fcf97e29a621ee48d /debian | |
parent | 00b266b82503e8155e7195180f287df0392fb770 (diff) | |
download | nx-libs-eb5ef91b6b940eb001d8acb95f6413560570c1a7.tar.gz nx-libs-eb5ef91b6b940eb001d8acb95f6413560570c1a7.tar.bz2 nx-libs-eb5ef91b6b940eb001d8acb95f6413560570c1a7.zip |
simplify main Makefile a little...
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/001_add-main-makefile.full+lite.patch | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/debian/patches/001_add-main-makefile.full+lite.patch b/debian/patches/001_add-main-makefile.full+lite.patch index 0adead108..9f4b8d1af 100644 --- a/debian/patches/001_add-main-makefile.full+lite.patch +++ b/debian/patches/001_add-main-makefile.full+lite.patch @@ -13,42 +13,42 @@ Last-Update: 2011-12-31 +build: build-arch build-indep + +clean: ++ $(MAKE) -C nxcomp $@ ++ $(MAKE) -C nxproxy $@ + if test -d nx-X11; then $(MAKE) -C nx-X11 $@; fi -+ if test -d nxcomp; then $(MAKE) -C nxcomp $@; fi + if test -d nxcompext; then $(MAKE) -C nxcompext $@; fi + if test -d nxcompshad; then $(MAKE) -C nxcompshad $@; fi -+ if test -d nxproxy; then $(MAKE) -C nxproxy $@; fi + +distclean: ++ $(MAKE) -C nxcomp $@ ++ $(MAKE) -C nxproxy $@ + if test -d nx-X11; then $(MAKE) -C nx-X11 $@; fi -+ if test -d nxcomp; then $(MAKE) -C nxcomp $@; fi + if test -d nxcompext; then $(MAKE) -C nxcompext $@; fi + if test -d nxcompshad; then $(MAKE) -C nxcompshad $@; fi -+ if test -d nxproxy; then $(MAKE) -C nxproxy $@; fi + +build-arch: + if test -d nx-X11; then \ -+ if test -d nxcomp; then cd nxcomp && autoconf; cd ..; fi; \ -+ if test -d nxcompext; then cd nxcompext && autoconf; cd ..; fi; \ -+ if test -d nxcompshad; then cd nxcompshad && autoconf; cd ..; fi; \ ++ cd nxcomp && autoconf; cd ..; \ ++ cd nxcompext && autoconf; cd ..; \ ++ cd nxcompshad && autoconf; cd ..; \ + cd nx-X11 && make World && cd ..; \ + else \ -+ if test -d nxcomp; then cd nxcomp && autoconf && ./configure && make; cd ..; fi; \ ++ cd nxcomp && autoconf && ./configure && make; cd ..; \ + fi -+ if test -d nxproxy; then cd nxproxy && autoconf && ./configure && make; cd ..; fi ++ cd nxproxy && autoconf && ./configure && make; cd .. + +build-indep: + +install: ++ $(MAKE) -C nxcomp $@ ++ $(MAKE) -C nxproxy $@ + if test -d nx-X11; then $(MAKE) -C nx-X11 $@; fi -+ if test -d nxcomp; then $(MAKE) -C nxcomp $@; fi + if test -d nxcompext; then $(MAKE) -C nxcompext $@; fi + if test -d nxcompshad; then $(MAKE) -C nxcompshad $@; fi -+ if test -d nxproxy; then $(MAKE) -C nxproxy $@; fi + +uninstall: ++ $(MAKE) -C nxcomp $@ ++ $(MAKE) -C nxproxy $@ + if test -d nx-X11; then $(MAKE) -C nx-X11 $@; fi -+ if test -d nxcomp; then $(MAKE) -C nxcomp $@; fi + if test -d nxcompext; then $(MAKE) -C nxcompext $@; fi + if test -d nxcompshad; then $(MAKE) -C nxcompshad $@; fi -+ if test -d nxproxy; then $(MAKE) -C nxproxy $@; fi |