Skip to content

Commit

Permalink
Removed bin/Extensions files from automake/install
Browse files Browse the repository at this point in the history
  • Loading branch information
Maia Kozheva authored and jpobst committed Jul 1, 2010
1 parent 7a32856 commit 877a8b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 5 additions & 8 deletions Makefile.am
Expand Up @@ -3,11 +3,8 @@ BINFILES = \
bin/Pinta.Core.dll \
bin/Pinta.Gui.Widgets.dll \
bin/Pinta.Resources.dll \
bin/System.ComponentModel.Composition.dll

EXTENSIONS = \
bin/Extensions/Pinta.Effects.dll \
bin/Extensions/Pinta.Tools.dll
bin/Pinta.Effects.dll \
bin/Pinta.Tools.dll

RELEASE_FILE = $(PACKAGE)-$(VERSION)

Expand Down Expand Up @@ -49,7 +46,7 @@ cleanobj:
find . -type d -name obj | xargs rm -rvf

# target: install - Installs Pinta.
install: pinta $(BINFILES) $(EXTENSIONS)
install: pinta $(BINFILES)
$(XBUILD) /target:Install /property:InstallPrefix=$(DESTDIR)$(prefix) Pinta/Pinta.csproj
$(INSTALL_SCRIPT) pinta $(DESTDIR)$(prefix)/bin/$(PACKAGE)

Expand All @@ -61,11 +58,11 @@ uninstall:
release: releasetar

# target: releasetar - Make a release tarball.
releasetar: $(BINFILES) $(EXTENSIONS)
releasetar: $(BINFILES)
cd bin && tar -czf ../$(RELEASE_FILE).tgz --exclude=*mdb *

# target: releasezip - Make a release zip file.
releasezip: $(BINFILES) $(EXTENSIONS)
releasezip: $(BINFILES)
cd bin && zip -r ../$(RELEASE_FILE).zip * -x "*.mdb"

.PHONY: install uninstall cleanall cleanbin cleanobj release releasetar releasezip
2 changes: 0 additions & 2 deletions Pinta/Pinta.csproj
Expand Up @@ -216,11 +216,9 @@
<ItemGroup>
<BinFiles Include="$(OutputPath)/Pinta.exe" />
<BinFiles Include="$(OutputPath)/Pinta.*.dll" />
<ExtensionFiles Include="$(OutputPath)/Extensions/*.dll" />
</ItemGroup>
<Target Name="Install">
<Copy SourceFiles="@(BinFiles)" DestinationFolder="$(InstallPrefix)/lib/pinta" />
<Copy SourceFiles="@(ExtensionFiles)" DestinationFolder="$(InstallPrefix)/lib/pinta/Extensions" />
<MakeDir Directories="$(InstallPrefix)/bin" />
<Copy SourceFiles="$(OutputPath)/locale/%(LocalePo.Code)/LC_MESSAGES/pinta.mo" DestinationFolder="$(InstallPrefix)/share/locale/%(LocalePo.Code)/LC_MESSAGES" />
<Copy SourceFiles="../xdg/pinta.1" DestinationFolder="$(InstallPrefix)/share/man/man1" />
Expand Down

0 comments on commit 877a8b6

Please sign in to comment.