~ubuntu-branches/ubuntu/precise/vlc/precise-proposed

« back to all changes in this revision

Viewing changes to extras/package/win32/package.mak

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-03-24 01:33:03 UTC
  • mfrom: (1.1.46) (3.5.39 sid)
  • Revision ID: package-import@ubuntu.com-20120324013303-km51kpl9kixydb8g
Really add the preinst from Didier Raboud to vlc to drop it's doc directory
before unpacking a symlink to vlc-nox's over it. (Closes: #613121, #662217)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
endif
20
20
endif
21
21
 
 
22
if HAVE_WIN64
 
23
WINVERSION=vlc-$(VERSION)-win64
 
24
else
 
25
WINVERSION=vlc-$(VERSION)-win32
 
26
endif
 
27
 
22
28
package-win-install:
23
29
        $(MAKE) install
24
30
        touch $@
154
160
        eval "$$MAKENSIS $(win32_destdir)/vlc.win32.nsi"
155
161
 
156
162
package-win32-zip: package-win-strip
157
 
        rm -f -- vlc-$(VERSION)-win32.zip
158
 
        zip -r -9 vlc-$(VERSION)-win32.zip vlc-$(VERSION)
 
163
        rm -f -- $(WINVERSION).zip
 
164
        zip -r -9 $(WINVERSION).zip vlc-$(VERSION)
159
165
 
160
166
package-win32-debug-zip: package-win-common
161
 
        rm -f -- vlc-$(VERSION)-win32-debug.zip
162
 
        zip -r -9 vlc-$(VERSION)-win32-debug.zip vlc-$(VERSION)
 
167
        rm -f -- $(WINVERSION)-debug.zip
 
168
        zip -r -9 $(WINVERSION)-debug.zip vlc-$(VERSION)
163
169
 
164
170
package-win32-7zip: package-win-strip
165
 
        7z a $(7Z_OPTS) vlc-$(VERSION)-win32.7z vlc-$(VERSION)
 
171
        7z a $(7Z_OPTS) $(WINVERSION).7z vlc-$(VERSION)
166
172
 
167
173
package-win32-debug-7zip: package-win-common
168
 
        7z a $(7Z_OPTS) vlc-$(VERSION)-win32-debug.7z vlc-$(VERSION)
 
174
        7z a $(7Z_OPTS) $(WINVERSION)-debug.7z vlc-$(VERSION)
169
175
 
170
176
package-win32-cleanup:
171
177
        rm -Rf $(win32_destdir) $(win32_debugdir) $(win32_xpi_destdir)